• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Brower give error java. lang. NullpointerExcpetion

 
ehsan dar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic