Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic