NullPointerException in a win32 application

Ranjit Mathew rmathew@hotmail.com
Mon Jul 28 08:12:00 GMT 2003


Thijs Cadier wrote:
> After quit a lot of hassle I've compiled a SWT application for windows. This
> application uses the Hessian lib from caucho ( www.caucho.com/hessian ).
> I've put the sources in my project and compiled them along with my own
> sources. The application runs fine. But when a class in the lib is used the
> application throws this Exception:
>> java.lang.NullPointerException
> at 0x00613380 (D:\datal\gcc\gcc\gcc\libgcc2.c)
> at 0x00612d64 (D:\datal\gcc\gcc\gcc\libgcc2.c)
> at 0x00612d35 (D:\datal\gcc\gcc\gcc\libgcc2.c)
> at 0x005f6da3 (D:\datal\gcc\gcc\gcc\libgcc2.c)
> at 0x0066536a (D:\datal\gcc\gcc\gcc\libgcc2.c)
> at 0x77eab45b (Unknown Source)
>> The application runs fine in Sun J2SE 1.4.

If you aren't already, you should compile everything
with "-g".
You should also ensure that "c++filt" and "addr2line"
are in your PATH when you run this application. These
ensure that you get a proper stacktrace at times
like these.
Lastly, we should probably carry further discussion
on this to "java@gcc.gnu.org".
Ranjit.
-- 
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/


More information about the Java mailing list

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