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

Java Applet Help

 
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
Saloon Keeper
Posts: 18367
56
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic