This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: NullPointerException in a win32 application
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Cc: java at gcc dot gnu dot org
- Date: Mon, 28 Jul 2003 12:04:19 +0530
- Subject: Re: NullPointerException in a win32 application
- References: <010101c35377$d0daf510$0300a8c0@thijs>
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/