[kaffe] Bug Report: accessing array doesn't throw NullPointerException under MIPS

Matthew Tippett matthew at casero.com
Sat Mar 8 17:35:05 PST 2003

Rebuilding with intrp at the moment.

Our application (originally built on the Sun JDK under intel works 99% 
there, occasionally there is this NullPointerException error.  The test 
case was derived from some (IMHO) dubious code in the xerces 
implementation that we rely on for XML parsing.

The command line was a vanilla './configure' with no options.

We are playing with bringing in some gnu classpath code into the kaffe 
rt.jar, but that is pure Java code and isn't related to the problems 
that we are seeing.



Kevin D. Kissell wrote:
> Matthew,
> I've tested with both my build of last October (essentially 1.0.7
> with my patch) and  I just did a check-out of the current Kaffe CVS 
> repository,and built kaffe from scratch, native, on a little-endian 
> MIPS  Linux box, specifying --with-engine=intrp on the configure line.
> I cut, pasted and compiled your test case below.  
> both kaffes produce the following output:
> [kevink at localhost BUGS]$ javac Hello.java
> [kevink at localhost BUGS]$ ls
> Hello.class  Hello.java
> [kevink at localhost BUGS]$ java Hello
> Getting test[0][0]
> Caught Null POinter Exception!
> [kevink at localhost BUGS]$
> Are you sure you correctly installed kaffe?  I've seen failures
> to bind exection handlers, like the one you describe, in cases
> where "make install" had not been run, and thus some class
> libraries weren't where kaffe needed them to be.
Matthew Tippett - matthew at casero.com - (647) 439 0102 x4117
Platform/Software Engineer - Casero Inc
Know yourself, know others; Art of War - Sun Tzu


The information contained in this message is proprietary of Casero Inc.,
protected from disclosure, and may be privileged. The information is
intended to be conveyed only to the designated recipient(s) of the
message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or
copying of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by replying to the message and deleting it from
your computer. Thank you.

More information about the kaffe mailing list