Re: How to enable stack trace ?

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.