the infamous null pointer applet problem
i set up a applet and it worked just fine when i ran it from eclipse , but now that i embedded it in a web page i get a major error , any way i could fix it
things i have tried
turned on the next generation applet support
self signed the applet
and tried lots of different combos of the html tags to get the least amount of errors possible
heres a link to the applet and source
the applet page
the source zipped
and heres the full list of errors i got when i tried to run it
Code :
java.lang.NullPointerException
at sun.plugin2.applet.Plugin2Manager.findAppletJDKLevel(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NullPointerException
Re: the infamous null pointer applet problem
It looks like the server you're trying to run your applet on doesn't have all of the necessary class files. Make sure you put everything on there, including an external libraries that you used.
Re: the infamous null pointer applet problem
now that u mention it ( and looking through everything for something that might have been left out )
i'm almost certain thats what it is
but how do i get the applet to look for the resource inside of the jar file thats already there
i recompiled with the missing library included in the jar but it still didnt run properly