How to handle a NullPointerException

Andrew Haley aph@redhat.com
Wed Feb 20 16:24:00 GMT 2008


Please don't top-post.

Dimiter Stamenov wrote:
>  >Do simple programs work?
> 
> Hi Andrew, yes, all other programs I have compiled work fine, except this.  
> It is supposed just to take the text from a MS Word file, but until that 
> moment I have not succeed to do that with gcj compiled version...

We'll have to take this in stages.  Can you usually get a backtrace out of gdb?

If not, we might have to try `-finstrument-functions'.  You'll find
documentation for tis option in "Options for Code Generation Conventions"

Andrew.



More information about the Java mailing list