This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NPE with gcc 3.4 when trying to open a tcp-socket


On Tuesday, Sep 16, 2003, at 04:57 Pacific/Auckland, Jörg Maisenbacher wrote:

Hy,

I just build gcc 3.4 from cvs, and compiled an application. But this app crashes with an NPE right at the start (when it tries to open a tcp-socket):

Exception in thread "main" java.lang.NullPointerException
at catch_segv (/home/joerg/g2gui/g2gui/../../../gcc_cvs/gcc/libjava/prims.cc:144)
at __restore (Unknown Source)
at gnu.java.net.PlainSocketImpl.setOption(int, java.lang.Object) (/home/joerg/g2gui/g2gui/gnu/java/net/natPlainSocketImpl.cc:574)
at java.net.Socket.getLocalAddress() (/home/joerg/g2gui/g2gui/../../../gcc_cvs/gcc/libjava/java/net/ Socket.java:455)

This is a "Miranda methods" bug - see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12254 where I have posted a patch.


Regards

Bryce.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]