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

JDK7-client: applet fails to launch from desktop shortcut or directly using jnlp file

XMLWordPrintable

    • b123
    • generic
    • windows
    • Verified

      java.lang.Exception: JNLP2Viewer.appletSSVValidation
      at sun.plugin2.applet.viewer.JNLP2Viewer$1$3.appletSSVValidation(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.fireAppletSSVValidation(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.access$600(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      basic: Applet loaded.
      java.lang.Exception: AppletLifecycle interrupted
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Using jdk7-client bundles JNLP based applet fails to launch from desktop shortcuts or when incoked directly using javaws. Following exception is getting thrown against these scenarios
      Exception: java.lang.Exception: AppletLifecycle interrupted
      Ignored exception: java.lang.Exception: AppletLifecycle interrupted
      Exception in thread "thread applet-SimpleJNLPTest-1" java.lang.NullPointerException
      at sun.awt.SunToolkit.postEvent(Unknown Source)
      at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.runOnEDT(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.switchToApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Steps to reproduce:
      1) Install JDK7-client bundle
      2) Try to load following applet inside the browser
      http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/html/SimpleJNLPTest.html
      3) Drag-applet out of the browser (ALT+left mouse button)and relaod the browser page
      4) There should be security pop-up asking for shortcut creation
          - Allow to create shortcut
      5) Close browser
      6) now try to launch applet from the desktop shortcut
      or
      try to lauch jnlp applet directly as following
      javaws http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/jnlp/SimpleJNLPTest.jnlp

      if applet fails to load by throwing above mentioend exception then bug is reproduced

            henryjen Henry Jen
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: