• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Applet Help  RSS feed

 
Basker Ganesan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have an applet running on WebSphere 5 It's giving an error
(Java Console error)

java.lang.NullPointerException
at DrawImg.init(DrawImg.java:97)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
(On Browser)
Also on the browsers status bar -
Start: Applet not initialized
 
Tim Holloway
Bartender
Posts: 18775
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebSphere doesn't run applets - they run on the client's computer.
Take a look at line 97 of DrawImg.java. You're attempting to do something with an object that hasn't been initialized yet.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!