This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to enable stack trace ?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]