This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
NullPointerException in a win32 application
- From: "Thijs Cadier" <thijs at cadier dot net>
- To: <gcc at gnu dot org>
- Date: Sat, 26 Jul 2003 15:13:55 +0200
- Subject: NullPointerException in a win32 application
Hi,
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.
Now I'm wondering about 2 things:
- Would you say it's the responsibity of the Lib vendor to test their
software with GCJ?
- What would be a way to solve a problem like this? I'm a quite experienced
java developer. But I've got no clue about these kind of things.