A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Brower give error java. lang. NullpointerExcpetion
Joined: Aug 21, 2006
Aug 21, 2006 02:05:00
I built a
class in Jbuilder it work fine but when i deploy it on
first on the botton of browser show java.lang.NullpointerExcpetion then it show applet fail to initialized.
Joined: Mar 05, 2002
Aug 22, 2006 03:26:00
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:
subject: Brower give error java. lang. NullpointerExcpetion
Generating HTML page from Applet
How to dispose an Applet
i want to animated the pic at applet like a gif
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013