Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Nodejs trycatch how we are supposed to implement error cause?

in a scenario where I have multiple (nested, composed) functions that, with try catch blocks are rising exceptions, bubbling up the error from bottom up, I'd like to understand if there's a a way ...
koalaok's user avatar
  • 5,710
2 votes
1 answer
94 views

Calling method missing in async stack trace

I have the following code in a WPF .NET 8 application. When the exception is hit, the only callstack is: WpfApp119.ViewModel.Compute() Line 23 C# WpfApp119.ViewModel.LoadData.AnonymousMethod__0_0() ...
creativergk's user avatar
0 votes
0 answers
66 views

How to debug where "Type instantiation is excessively deep and possibly infinite. ts(2589)" is occuring?

I am getting this all of a sudden in my Next.js app: Type instantiation is excessively deep and possibly infinite. ts(2589) I can use // @ts-nocheck at the beginning of every file, one by one, ...
Lance Pollard's user avatar
0 votes
0 answers
42 views

Is it possible to get the error text that is outside the StackTrace?

Logs: 2024-10-25 09:53:02,293 [INFO][VPNM-INSIDE-CONTROL] Started downloading file from MinIO: ON_RISKSDNALMON_1_430_00_05_03_01.xsd 2024-10-25 09:53:04,144 [INFO][VPNM-INSIDE-CONTROL] File ...
punc1's user avatar
  • 11
4 votes
1 answer
174 views

Stack trace doesn’t point to the origin of API call when throwing an exception with Retrofit

I am using Retrofit, OkHttp, Kotlin coroutines to make HTTP requests. When the server returns an unsuccessful result (e.g., 404), I throw a custom exception, which is a subtype of IOException. The ...
Geba's user avatar
  • 95
0 votes
1 answer
69 views

Route works fine in local Docker container, but throws a stack trace error when deployed to CloudRun

I am working on an app in Python, using Selenium WebDriver (with Chrome / ChromeDriver) for web scraping. My route works fine in a local Docker container (200, with the expected data returned ...
Zoe Laventhol's user avatar
4 votes
2 answers
211 views

Stacktrace refers to not existing line in Kotlin

Say we have the codelike this: data class TestException(val value: String) // 1 // 2 fun main() { // 3 ...
Alexey R.'s user avatar
  • 8,648
1 vote
0 answers
76 views

SymFromAddr is unusable with MinGW toolchain?

I am trying to dump symbolized stacktrace when my program crash. I catch the crash event with SetUnhandledExceptionFilter. Then I obtain stacktrace with StackWalk. Finally, I obtain symbols from ...
cgsdfc's user avatar
  • 610
0 votes
1 answer
61 views

How do I get a stacktrace in GNU Common Lisp?

Very basic thing to ask for, but right now I'm just getting *** - =: "ROUND" is not a number as a description of my error. Does GNU Common Lisp not support stacktraces?
Olle Härstedt's user avatar
1 vote
0 answers
54 views

What is the correct way to use addr2line for a Linux PIE program?

We have raw addresses from a Linux program's call stack, but how do we use addr2line to convert the addresses if the program is a position-independent executable (PIE)? In Windows, we can record the ...
Myria's user avatar
  • 3,787
0 votes
0 answers
56 views

How to combine exception handling with a termination handler? [duplicate]

The high level problem I'm trying to solve is to log stacktrace for every exception that is being thrown from [legacy] code. The solution I'm trying to find an alternative to is logging stacktrace ...
Dmitry Kuzminov's user avatar
-1 votes
1 answer
2k views

React-Native iOS app is crashing immediately upon launch when creating development build

I have created an app for iOS using React Native. I've gotten the app to a point where it works on the iPhone simulator via the Expo App. It even works when creating a build of the app to distribute ...
Jaylen J's user avatar
1 vote
0 answers
49 views

Stack trace printed even though SSLException is being handled

I'm getting SSLHandshakeException when making requests through WebClient. Even though I am catching the exception succesfully (custom LOG4J log.error message is being displayed) the stack trace is ...
Nicolas Zaeta's user avatar
0 votes
0 answers
9 views

In .NET stacktrace exception, file path and line number are lost while logging in Console with JSON format

In an ASP.NET 8 web API project, the default log system (ILogger to Console) logs well the exceptions raised to the destination (AWS CloudWatch). If I change the log format to JSON, I don't have ...
Nicolas's user avatar
  • 6,444
6 votes
1 answer
144 views

Exception stack trace not clickable in PyCharm

PyCharm suddenly changed the way it shows the stack trace on the run tab and does not let me click on the exception (or anywhere else) and go to the specific point of the error file anymore. How can I ...
sofia's user avatar
  • 502
1 vote
0 answers
25 views

How to parse actively fetched stack information of '[NSThread callStackSymbols]'?

I use '[NSThread callStackSymbols]' method to record app stack information and write to log file. In debug environment, it works fine. But in release environment(app submitted by App Store), '[...
lauren1573's user avatar
0 votes
0 answers
90 views

Anonymous stack trace for function expressions in safari browser

I am trying to get stack trace of a error which is thrown inside a function expression using console.trace. Int Safari stacktrace does not have function names and instead just gives anonymous ...
user8245171's user avatar
0 votes
0 answers
48 views

Pycharm Frames incomplete and Unhelpful

I suspect this is a straightforward problem but I haven't been able to find the solution elsewhere. I'm using the JetBrains PyCharm Debugger and when the program hits an exception, the debugger shows ...
Joshua Evans's user avatar
1 vote
0 answers
46 views

Is it possible to have more than 10 lines in the stack trace of Jasmine/Karma?

I use Jasmine/Karma for unit tests in Angular. When there's an error in a test, the maximum number of lines in the stack trace is 10 and I would to like to increase it (in order to know what test ...
Zlotz's user avatar
  • 349
3 votes
1 answer
96 views

Why does `to_string( std::stacktrace::current() )` hang if called during Windows DLL loading

I use Visual Studio 2022 version 17.9.2, and in an exception handler of my application I started logging call stacks using new C++23 feature to_string( std::stacktrace::current() ). In general it ...
Fedor's user avatar
  • 20.7k
3 votes
0 answers
85 views

How to catch the exception stacktrace in Firemonkey mobile app run-time?

Is there anything to easily catch human readable stack traces from exceptions happened on android/ios applications? I can log exception classname and message. Provided human made log trace (how user ...
AlexLL's user avatar
  • 195
2 votes
1 answer
696 views

Compilation and linking errors using std::stacktrace

I am working in Fedora 39 Linux, and would like to start using std::stacktrace from C++23, which is available in libstdc++. Unfortunately, I bumped in some errors even with the simplest example: #...
Fedor's user avatar
  • 20.7k
0 votes
1 answer
70 views

System.IndexOutOfRangeException mysteriously thrown from System.Collections.Generic.List.Add(T item)

I have been struggling to figure out the cause of an exception with the following stack trace (deliberately shortened): System.IndexOutOfRangeException: Index was outside the bounds of the array. ...
Borislav-K's user avatar
1 vote
1 answer
143 views

Go compiler flag -trimpath not working completely

I have an issue where the -trimpath is not removing the GOPATH from the last line of the stacktrace. Below is the snapshot of the stacktrace: Apr 15 09:56:59 10-79-108-22 system-health[3923528]: [...
Hemant Yadav's user avatar
0 votes
1 answer
145 views

__device__ call stack trace on CUDA

I'd like get call trace in a CUDA __device__ function, similar to backtrace. Is it possible to do that?
Michael's user avatar
  • 5,869
0 votes
0 answers
63 views

Angular - NG SERVE doesnt work outta nowhere / node:internal/errors:563 ErrorCaptureStackTrace(err);

I started learning Angular 8+, and everytime i start a new project, the very next day i cant NG SERVE anymore. I've tryed lots of tutorial to fix, but nothing works. Sometimes, i change zero lines ...
Vinicius Zamai's user avatar
0 votes
0 answers
38 views

Why "current_thread" identifier is not in "_current_frames" dictionary?

I am writing a stack profiler for python using Rust. Here is the profiler code to collect stack trace: use pyo3::prelude::*; use pyo3::types::IntoPyDict; use pyo3::types::{PyAny, PyDict}; use pyo3::...
Proy's user avatar
  • 346
3 votes
1 answer
369 views

Rails 7.1.3 how to view stack traces in a production environment

How can I view stack traces for a Rails 7.1.3 app running in production? I am used to tailing the production.log file however this no longer exists After referring to This answer plus the various ...
jamesc's user avatar
  • 12.8k
0 votes
1 answer
72 views

Azure calls waiting a long time

From time to time our blazor application that is hosted in azure does not respond (sometimes more than 30sec) When I look into application insights I notice it is always waiting The problem is I don'...
Jeroen T's user avatar
3 votes
0 answers
275 views

C++23 std::stacktrace in segmentation fault

I have noticed that c++23 has a std::stacktrace. Sometimes our unit tests are crashing on jenkins in a segfault but we cannot reproduce the issue locally. That's why I'd like to use std::stacktrace. ...
JHeni's user avatar
  • 721
0 votes
0 answers
47 views

VSCode Extension Development: Rejected Promise Error When Running "sonarqube-scanner-npm"

Developing a VSCode extension and trying to use sonarqube-scanner-npm package. When run the script below explicitly on a terminal with the following command node sonarqube-scanner-script.ts, it works ...
DenizTuna's user avatar
1 vote
0 answers
64 views

Extracting function name from boost stacktrace

I use boost stacktrace to dump a stacktrace when an application crashes. The final version of the application will be stripped which means there is no function name information available. The dump ...
Gustavo's user avatar
  • 1,019
0 votes
1 answer
139 views

In internal testing, application crashed on start with Fatal Exception: java.lang.VerifyError

my app is working perfectly in debug mode but when I upload my app in internal testing, app crashes on start everytime. Here's the crash report: Fatal Exception: java.lang.VerifyError: Verifier ...
KCapstone's user avatar
0 votes
0 answers
11 views

Get stacktrace including child class method call when exception is raised from parent classmethod

I have a relatively complex codebase that has a Decorator to catch exceptions, log them and prevent some boilerplate code. I also have several Services that inherit from a parent BaseService which has ...
Manu Sisko's user avatar
0 votes
0 answers
77 views

Print stacktrace of a function from a goroutine

I have a function that is 1/1000 times getting stuck somewhere and I want to figure out where it gets frozen. This unfortunately only happens in production. I want to print the stacktrace of this ...
Syed Momin Naqvi's user avatar
1 vote
0 answers
198 views

Parsing multiline python logs in fluentbit issue

I want to parse some python logs (from aodh-evaluator) with fluentbit and multiline parsing doesn`t work. This is an example of logs: 2024-01-03 13:49:59.217 1742204 WARNING oslo_db.sqlalchemy.utils [-...
Alexandru Dan's user avatar
0 votes
0 answers
87 views

How to interpret the stack trace of an obfuscated app

When an error occurred in my app, I used the Catcher package to have a stack trace sent to my email when an error occurred. Can I decode it through the following stack trace and files generated during ...
MengTwo's user avatar
  • 13
0 votes
1 answer
349 views

Get details of multiple-propagated errors in Rust?

I can see several questions about propagating errors in Rust, but none really is about what I'm trying to achieve. Developing this first small Rust project I've got into the habit of having this ...
mike rodent's user avatar
  • 15.5k
-3 votes
1 answer
89 views

Why Java method has length like method().length?

I don't understand how the method can have length? method1().lenght. Following the same logic we can write main().length public class Solution { public static void main(String[] args) { ...
ra1n89's user avatar
  • 13
0 votes
1 answer
126 views

How to output stack traces pointing to the original files instead of the bundled files in a node app?

I have a node app that is bundled with sourcemaps (inline or not makes no difference) using Rollup. When an error is thrown, I get something like Error: FF at Function.<anonymous> (/.../...
Maxime Dupré's user avatar
1 vote
1 answer
1k views

c++23 building with <stacktrace> library

I'm trying to use "stacktrace" library from my c++ project. https://en.cppreference.com/w/cpp/header/stacktrace I'm using GCC 13 and CPP standard 23. In my cmake file, I am adding ...
Hedgehog's user avatar
0 votes
1 answer
1k views

JVM option --XX MaxJavaStackTraceDepth when I decrease any value below 10, It is not working

I am trying to set the jvm option maxJavaStackTraceDepth. So when I increase the JVM option --XX MaxJavaStackTraceDepth above 10. it is working as expected. But when I decrease any value below 10 so ...
Arun Pal's user avatar
1 vote
0 answers
57 views

How to print TraceStack in Haskell

I am learning haskell-language-server code. Add I cannot print out the tracestack. Following 3 approaches failed. defaultMain :: Recorder (WithPriority Log) -> Arguments -> IdePlugins IdeState -&...
zichao liu's user avatar
0 votes
0 answers
316 views

.NET MAUI Exception Line Number Doesn't Show In AppCenter or StackTrace On Android

I am using NET MAUI with .net 7 and Microsoft App Center for Android diagnostics. When in debug mode it works fine and all exceptions sended to App Center has exception Line Numbers. But when I try it ...
sagopaj's user avatar
  • 303
-2 votes
1 answer
98 views

Tweaking regular expression for Java stack trace element

I'm creating a Java regular expression for matching the string form of a Java StackTraceElement. (Note that this is not a regular expression for the stack trace itself.) The typical forms are shown at ...
Garret Wilson's user avatar
3 votes
0 answers
211 views

How can I get Python stacktraces to show up properly in Google Cloud Trace?

I have a web service written in python, running on GKE. I've enabled opentelemetry instrumentation via FastAPI contrib package, OTel SDK and cloud trace exporter. I am able to send and view successful ...
Bartek Banachewicz's user avatar
0 votes
0 answers
734 views

How do I configure a nx build to generate a stacktrace?

I am using the Nrwl nx console in Visual Studio Code. When I use the build command in the nx console I get the following error. Building Angular Package NX Entry point "name-of-the-library&...
Al Koch's user avatar
  • 413
1 vote
0 answers
284 views

How to retrieve a complete C++ stack trace on GCC with <stacktrace> standard library?

When I try to retrieve a stack trace from GCC I always have the same result. I doesn't depend on where it has been called because the software I am working on is giving me exactly the same stack. Main....
Matthieu Moinvaziri's user avatar
0 votes
0 answers
72 views

Cannot find a differ supporting object template error - stacktrace doesn't show where it comes from

I'm writing an angular16 application and I encountered something that i don't understand, i see that i get this error: ERROR Error: NG02200: Cannot find a differ supporting object '[object Object]' of ...
ufk's user avatar
  • 32k
1 vote
0 answers
119 views

Why is RtlCaptureStackBackTrace 10 times slower in 64-bit mode compared to 32-bit?

I've recently encountered a perplexing performance discrepancy when utilizing the RtlCaptureStackBackTrace function between its 32-bit and 64-bit executions. My system: Visual Studio 2022 Windows 11 ...
amanjiang's user avatar
  • 1,263

1
2 3 4 5
48