Can anyone explain how can getImage return a null pointer in netscape
while it worxs in appletviewer (and msie, although i wouldn't like to
s=admit ) ?
java.lang.NullPointerException: trying to call hasError()Z
* at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:275)
at dip.applets.DIPApplet.run(DIPApplet.java:123)
at java.lang.Thread.run(Thread.java:504)
java.io.IOException: vcafe: not found
at java.lang.Runtime.exec(Runtime.java:170)
* at java.lang.Runtime.exec(Runtime.java:134)
at netscape.debug.Debugger.launchDebugger(Debugger.java:93)
at netscape.debug.Debugger.uncaughtException(Debugger.java:37)
at
netscape.applet.AppletThreadGroup.uncaughtException(AppletThreadGroup.java:49)
After some assertins in code (I removed them), it seems that the call
Image temp = getImage( getCodeBase(), imageInfo_[i].file_ );
returns null. How can this be?
Dimitris