Do you try to read images from jar ?
In this case try to place your images out of jar-file.
-----Original Message-----
From: Dimitris Vyzovitis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; Java Linux List
<[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Monday, November 09, 1998 9:07 PM
Subject: Re: Some weird security problems in netscape - getting worse
>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
>
With best wishes,
Alex Romadinoff, Lead Software Developer, Mac department, OpenTeach, Ltd.