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

Serialized applets are failing to load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 7
    • 7
    • deploy
    • None
    • generic
    • generic

      <APPLET> tag contains OBJECT, attribute that can be used in place of the CODE attribute to specify a serialized object file instead of a class file. When such an <APPLET> tag is encountered, the applet viewer or Web browser creates the applet by deserializing it. This is widely used technique mainly because it allows an applet to be shipped in a pre-initialized state
      This feature is not working latest PIT bundles

      Steps to reprodcue:
      1)Install latest PIt bundles from following location
      http://rehudson.sfbay/hudsonws/deploypit/bundles/
      2) Try to load the following applet
      http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/ALC_Enhanced/ALC_Enhanced/applethtml/PrintThreadSerialized.html
      If applet fails to load by throwing following exception then bug is reproduced
      java.lang.Exception: AppletLifecycle interrupted
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Exception: java.lang.Exception: AppletLifecycle interrupted
      Ignored exception: java.lang.Exception: AppletLifecycle interrupted
      Applet2Manager.getJarFiles() for applet ID 1 Jar Files:null
      PluginMain.StartAppletListener: appletErrorOccurred for applet ID 1
      Exception in thread "thread applet-null-1" java.lang.NullPointerException
      at sun.awt.SunToolkit.postEvent(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.OldPluginAWTUtil.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)

            ngthomas Thomas Ng (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: