[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/16/2009 at 01:26PM PDT, ID: 24819336 | Points: 500
[x]
Attachment Details

Applet not working in browser - Using MYSQL and NetBeans

Asked by namsu55 in Java Programming Language, NetBeans IDE

Generally when I Clean and Build the applet runs both from NetBeans and through the browser if the application is basic. I added a JTable and used NetBeans to get the MySQL service and dragged a table in into the JTable. From NetBeans everything works fine, however in the browser I am getting an error:

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
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

I have read about applets and signing but not too sure if this is the problem.
[+][-]10/21/09 05:18 AM, ID: 25623126

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/09 05:21 AM, ID: 25623141

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/09 05:26 AM, ID: 25623184

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/22/09 12:49 PM, ID: 25638226

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625