How to enable stack trace ?

Andrew Haley aph@redhat.com
Fri Oct 9 09:43:00 GMT 2009


abhishek desai wrote:
> I am using libgcj 3.4.6 cross compiled for a mipsel system. I am using
> this in the interpreted mode. When I execute my program I get
>> Exception in thread "main" java.lang.NullPointerException
> <<No stacktrace available>>
>> Is there any way to enable the stack trace ?

This means that something truly awful has happened while trying to print
the stack trace, and libgcj has crashed. This can be because of stack
corruption, or perhaps the stack unwinder doesn't work. The only real
way to figure this out is to use gdb.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /