Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Applets and the fly likes java.lang.nullpointer exception erro in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "java.lang.nullpointer exception erro in applet" Watch "java.lang.nullpointer exception erro in applet" New topic
Author

java.lang.nullpointer exception erro in applet

Naveenzion Kumar
Greenhorn

Joined: Aug 02, 2010
Posts: 24
Hi friends ,
this is naveen i am working in applet .when i compile my applet through html file i am getting java.lang.nullpointer exception in joption box .when i click that ok button in joption Box my word is loading in to my container.my word file is placed in my server .each and every time before the word loads i am getting java.lang.nullpointer exception but words are loaded.help me to fix this problem.my applet file posted in to this link http://www.agaraadhi.com/game/ht.html .i have to wind up this project help me to fix.

thanks in advance.



regards,
naveen.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 19359
    
  10

If you're getting a NullPointerException then there is a bug in your code. Look in the Java Control Panel for the stack trace and start debugging from there in the normal way.
 
 
subject: java.lang.nullpointer exception erro in applet