Skip to main content

Can't start JNLP version of draggable applet

2 replies [Last post]
augusto
Offline
Joined: 2003-06-11
Points: 0

So I tried the draggable applet demo, dragged it outside of the browser then closed the browser. At this point, it asked me if I wanted a shortcut, I click on Yes.

When I launch the applet via the desktop icon (webstart) I get the following error;

In the console:

APPLET tag missing CODE parameter.
java.lang.NullPointerException: name
at sun.applet.AppletClassLoader.getResourceAsStream(Unknown Source)
at sun.applet.AppletPanel$7.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

From the webstart error dialog:

java.lang.NoClassDefFoundError: netscape/javascript/JSException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.javaws.Launcher.executeApplet(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: netscape.javascript.JSException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 10 more

Any ideas what is going on?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
augusto
Offline
Joined: 2003-06-11
Points: 0

Well, can anybody at least let me know if this works for them at all?

kbr
Offline
Joined: 2003-06-16
Points: 0

The current builds of 6u10 should work completely with this example. If build 25 for some reason doesn't work then build 26 definitely should.