Article View: borland.public.jbuilder.java.api
Article #3211Re: JNI - Null pointer exeption For Eduard Andre
From: david dalby
Date: Tue, 10 Mar 1998 00:00
Date: Tue, 10 Mar 1998 00:00
21 lines
1182 bytes
1182 bytes
I have experienced exactly the same problem with a very simple code example. I believe this is a fault in the JIT VM that is used when using the RUN command. If the same classes are run using the java VM using a batch file then it works. And like you i noticed it also works when running DEBUG. The fault only occured when running windows-nt4 and not when running windows95. I also noticed that this fault doesn't occur if all the jni calls are made on the "main" (initial) thread. I have sent a bug report to borland. I would encourage you to do the same, and hopefully they will do something about it. David Dalby.
Technical Details
Message-ID:
<35051563.541A@boat.bt.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<350410F3.296C69D6@aon.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,abf8afec4bf3b834 X-Google-Attributes: gid1089d0,public From: david dalby <dalbyd@boat.bt.com> Subject: Re: JNI - Null pointer exeption For Eduard Andre Date: 1998/03/10 Message-ID: <35051563.541A@boat.bt.com> X-Deja-AN: 332578847 Content-Transfer-Encoding: 7bit References: <350410F3.296C69D6@aon.at> Mime-Version: 1.0 Reply-To: dalbyd@boat.bt.com Content-Type: text/plain; charset=us-ascii Organization: bt labs Newsgroups: borland.public.jbuilder.java.api