NullPointer + Jars

Gregory R. Warnes warnes@biostat.washington.edu
Thu May 18 20:19:00 GMT 2000


On Fri, 19 May 2000, Bryce McKinlay wrote:
  BM>> 
  BM>> I haven't tried your test case, but I think I found the problem. Can you try the
  BM>> patch below?

After appying that patch:

- With no classpath, I now get a sensible error,

     java.util.MissingResourceException: can't load bundle

- With the raw files in the classpath the program runs properly.

However,

- With the jar in the classpath, or when run under gdb I also get

     java.util.MissingResourceException: can't load bundle

So,

1) Why can't it load the resource from the jar?

2) Why does it run differently under gdb?  

I've queried the CLASSPATH environment variable in gdb, and it returns the
proper value:	

     (gdb) show envir CLASSPATH
     CLASSPATH = /home/warnes/java/

so that doesn't seem to be the problem.

-Greg



 



More information about the Java mailing list