stack-trace

Is showing the Exception StackTrace useful in a RELEASE assembly or only a DEBUG .dll

I've gone to some lengths to improve the error handling in my webservice - in particular, showing the StackTrace as in this example: catch (Exception ex) { EventLog log = new EventLog(); log.Source = g_EventSource; StringBuilder msg = new StringBuilder("Exception in UpdateRecord method has bee...

Python stacktrace help

hello, I have this stack trace error when I try view some data in my Python website, could some one clue me up as to what the problem is I am so lost Environment: Request Method: GET Request URL: http://mywesbite.genericdomain.co.uk/admin/shop/passwordresetrequest/4/ Django Version: 1.1.1 Python Version: 2.5.2 Installed Applicati...

Need debug information for .NET assembly in Release

When an error occurs in any of my .NET assemblies the user just gets a generic error saying "MyApp has encountered a problem and needs to close. We are sorry for the inconvenience." I would like the user to to see the error message and line number if possible. From what I understand you need to deploy the pdb file along with your assemb...

Sybase Internal Error 30016

Database server is migrated from version 12.5x to version 15.03 Sybase.Data.AseClient version - 1.15.50.0 I am getting below exception when I run few stored procedures through .Net app (using AseClient) Internal Error :30016 Unknown Dataitem Dataitem Stack Trace - at Sybase.Data.AseClient.AseDataReader.CheckResult(Int32 res) ...

Application crash when connecting to server using MSTSC

Sometimes when I connect to or disconnect from one of our Windows 2003 server boxes (a 16 core machine with about 20% CPU load) using Microsoft Terminal Services Client (MSTSC.EXE) the C#/.NET application running on it will throw an exception with the following stack trace. Has anyone else seen this? OS: Microsoft Windows NT 5.2.3790...

Custom Java exception printing when thrown

I want to design it such that whenever one of my custom exceptions is thrown, it automatically prints the stacktrace to a file. Is there a method I can override to accomplish this? Doing this would help to reduce a noticable amount of code in my project. ...

log errors with stack trace in javascript

I'm trying to log javascript errors on a productive site. So far it worked quite well with the following code included in the site: function catcherr(errorMessage, url, line) { var parameters = "msg=" + escape(errorMessage) + "&url=" + escape(url) + "&line=" + escape(line); new Image().src = "/error.gif?...

Determining the source of a window activation event in Java

I am using the java WindowAdapter class to determine when a window is activated and then do some appropriate work. This is accomplished by implementing the windowActivated method of the WindowAdapter. Now, I am having some strange behavior and when I open one type of window it then activates another type afterwards. I tried to get a s...

Get stack backtrace of a running process

I'm trying to get the stack backtrace of a running process (PID and binary path are known) from another program. The program in question is written in C++ and compiled with g++ with gdb debugging symbols. I'm looking for a C or C++ library that works across Linux, HP-UX and Solaris that produces an output similar to the output of callin...

Function name from Windows stack trace

How do I restore the stack trace function name instead of <UNKNOWN>? Event Type: Error Event Source: abcd Event Category: None Event ID: 16 Date: 1/3/2010 Time: 10:24:10 PM User: N/A Computer: CMS01 Description: Server.exe caused a in module at 2CA001B:77E4BEF7 Buil...

How do I make a thread dump with MONO?

How can I show the threads (stacktraces) in a hanging application that run with MONO? I know that I can do it in .NET with the Managed Stack Explorer (MSE). Because the application hang only with MONO that I need to do it with MONO. Or there are any other ideas how I can find the place of hanging? ...

What do the numbers in stack trace mean?

How can I use the numbers in the stacktrace? What do these mean? In eclipse I get often exceptions, for example a NullPointerException: java.lang.NullPointerException at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68) at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47) at com.sun.midp.lcdui.DefaultEventHandler$Q...

Recording SQL Server call stack when reporting errors

This is a follow up to the question Nested stored procedures containing TRY CATCH ROLLBACK pattern? In the catch block I use a stored procedure to report (reraise) the error by reading from ERROR_MESSAGE(), ERROR_PROCEDURE(), ERROR_LINE(), etc. As described here I also have a check so that it can determine if the error has already been ...

Help understanding this stack trace

Hi I have health monitoring turned on, and i have the following error i'm trying to understand: Exception: Exception information: Exception type: System.InvalidCastException Exception message: Specified cast is not valid. Thread information: Thread ID: 5 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impers...

What does this stack trace possibly mean?

Hi, I'm having segfault problem in my application written using C++ and compiled using GCC 4.3.2. It is running under Debian 5 x64. The process crashed on the following line of code: #0 0x00000000007c720f in Action::LoadInfoFromDB (this=0x7fae10d38d90) at ../../../src/server/Action.cpp:1233 1233 m_tmap[tId]->slist[sId]...

Official reasons for "Software caused connection abort: socket write error"

Given this stack trace snippet Caused by: java.net.SocketException: Software caused connection abort: socket write error  at java.net.SocketOutputStream.socketWrite0(Native Method) I tried to answer the following questions: What code is throwing this exception? (JVM?/Tomcat?/My code?) What causes this exception to be thro...

Java stacktrace in different locales

I'm trying to do some automatic parsing of java exceptions and stacktraces being sent to our central server (written in c#). I have an algorithm working now which parses the stacktraces to a standard representation and in the process attempt to determine the locale which generated the exception, but have only tested on english and would ...

Why this NumberFormatException?

Ihave this stack trace (part of) Servlet.service() for servlet action threw exception java.lang.NumberFormatException: For input string: "37648" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:403) at java.lang.Long.valueOf(Long.java:482) at java.lang.Long.decode...

stack trace info in errorInfo in Tcl

If using Tcl in interactive mode , in which I input the following: set list {1 2 3 4 5} set sum 0 foreach el $list { set sum [expr $sum + $element] } it will show a piece of very terse info: can't read "element": no such variable but when I use puts $errorInfo it wil show: can't read "element": no such variable while...

Downloading updates from web address. C#

Ok, so I have an app that checks for updates at http://mysite.ext/sub/sub2/sub3/appname/ and after the very first publish (a few days ago) it was checking for/downloading updates from that url correctly with no problems. But today, I published a new version, only minor changes to the ui (changing button text etc), then uploaded latest...