• Post Reply Bookmark Topic Watch Topic
  • New Topic

getImage returns null

 
Paul Bailey
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, i am trying to load a file and netscape keeps returning null after the Applet's getImage() call (works fine in IE).
For example, this outputs null

As does the getImageFromJAR method from
http://www.javaranch.com/ubb/Forum23/HTML/000572.html here, it is specifically the InputStream ends up null and throws a NullPointerException. I looked, it is in the jar, and named what i think it should be named.
The worst thing is that this program used to work without any acrobatics on the image loading! Argh.
[This message has been edited by Paul Bailey (edited November 07, 2001).]
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!