Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getImage returns null  RSS feed

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 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
Boost this thread!