Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6706370

DragExample.jnlp won't run in 6u10 plugin release notes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6u10
    • deploy
    • x86
    • linux

      FULL PRODUCT VERSION :
      java version "1.6.0_10-beta"
      Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b24)
      Java HotSpot(TM) Client VM (build 11.0-b12, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Ubuntu 8.04 (hardy) x86 desktop

      A DESCRIPTION OF THE PROBLEM :
      draggable applet (jnlp) won't relaunch from desktop icon

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Install demo applet from https://jdk6.dev.java.net/plugin2/#EXPERIMENTAL_FUNCTIONALITY, then drag applet from browser, then close original browser page to trigger creation of desktop icon (jnlp).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Same applet running standalone as that runs with browser (Firefox 3)
      ACTUAL -
      Desktop jnlp won't run, see error below:

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.NoClassDefFoundError: netscape/javascript/JSException
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      at java.lang.Class.getConstructor0(Class.java:2699)
      at java.lang.Class.newInstance0(Class.java:326)
      at java.lang.Class.newInstance(Class.java:308)
      at com.sun.javaws.Launcher.executeApplet(Launcher.java:1182)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1114)
      at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:965)
      at com.sun.javaws.Launcher.run(Launcher.java:121)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassNotFoundException: netscape.javascript.JSException
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:257)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 10 more

      REPRODUCIBILITY :
      This bug can be reproduced always.

            ccheung Calvin Cheung
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: