We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Need help with JAVA applet error
Page Index Toggle Pages: 1
Need help with JAVA applet error (Read 1123 times)
Need help with JAVA applet error
Feb 21st, 2010, 7:05am
 
After exporting my Processing program,  and opening the index.html file in the applet folder, (my browser is Firefox),  I get the following error in the JAVA console:

Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Jim
----------------------------------------------------

java.lang.NullPointerException
at Aurora_Situation_Monitor_r11a.init(Aurora_Situation_Monitor_r11a.java:151)
at   sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at  java.lang.Thread.run(Unknown Source)

Exception: java.lang.NullPointerException

Anyone have any ideas what may be wrong?
Re: Need help with JAVA applet error
Reply #1 - Feb 21st, 2010, 11:20pm
 
Yes.
You have a Null Pointer Exception in your code...
Smiley
Most likely, you try to access an external resource, and it is not available for security reasons because you have not signed your applet.
Page Index Toggle Pages: 1