This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Applets and the fly likes Brower give error java. lang. NullpointerExcpetion Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Brower give error java. lang. NullpointerExcpetion " Watch "Brower give error java. lang. NullpointerExcpetion " New topic
Author

Brower give error java. lang. NullpointerExcpetion

ehsan dar
Greenhorn

Joined: Aug 21, 2006
Posts: 18
I built a applet class in Jbuilder it work fine but when i deploy it on tomcat first on the botton of browser show java.lang.NullpointerExcpetion then it show applet fail to initialized.
Manuel Moons
Ranch Hand

Joined: Mar 05, 2002
Posts: 229
You question does not provide us with enough information to help solve your problem.

It is possible that there are minor differences when running an applet by using for instance Appletviewer or running it in a browser.

The applet you have built is trying to do something to an object that is not initialized (it is null). See what you are trying to access when the nullpointer occurs.

If you can not resolve it like that you might want to provide the entire stack trace. That provides us with some more information.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Brower give error java. lang. NullpointerExcpetion
 
Similar Threads
javascript/css menu over Applet? How to?
i want to animated the pic at applet like a gif
Wheel Project
How to dispose an Applet
Generating HTML page from Applet