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

Jre autodownload test hang on security warning dialogs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 6
    • 5.0u6, 6
    • deploy
    • b03
    • b42
    • generic, x86
    • generic, windows_xp
    • Verified

        Jre autodownload test hang on security warning dialog on all platforms.

        Steps to reproduce:
        - clean cache
        - install jre1.6.0 build 40
        - try to execute test
        http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/hellojaws/JRE_AutoDownload_13002.jnlp
        It will hang on Security Warning dialog
        ###@###.### 2005-06-08 00:59:12 GMT
        --------------------------------------------------
        After fix has been delivered in build 42 (PIT build) it has a new problem now:
        Java Web Start can not invoke application from cache after autodownload it (second launch autodowload) on Solaris:

        This is what I am getting (Solaris10):
         - It is coming with Application Error window: Unable to launch the application. Click on the details do nothing. I attached log for this:
        #### Java Web Start Error:
        #### java.lang.NoClassDefFoundError: java/net/URISyntaxException
        Exception occurred during event dispatching:
        java.awt.AWTError: Invalid axis
        at javax.swing.BoxLayout.<init>(BoxLayout.java:115)
        at com.sun.deploy.ui.MoreInfoDialog.initComponents(Unknown Source)
        at com.sun.deploy.ui.MoreInfoDialog.<init>(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.showMoreInfo(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1165)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1214)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
        at java.awt.Container.dispatchEventImpl(Container.java:1201)
        at java.awt.Window.dispatchEventImpl(Window.java:917)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.Dialog.show(Dialog.java:383)
        at java.awt.Component.show(Component.java:946)
        at java.awt.Component.setVisible(Component.java:903)
        at com.sun.deploy.ui.DialogTemplate.setVisible(Unknown Source)
        at com.sun.deploy.ui.UIFactory$10.execute(Unknown Source)
        at com.sun.javaws.ui.JavawsSysRun.delegate(Unknown Source)
        at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
        at com.sun.deploy.util.DeploySysRun$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.deploy.util.DeploySysRun.executePrivileged(Unknown Source)
        at com.sun.deploy.ui.UIFactory.showProgressDialog(Unknown Source)
        at com.sun.javaws.ui.DownloadWindow$7.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
        Exception occurred during event dispatching:
        java.awt.AWTError: Invalid axis
        at javax.swing.BoxLayout.<init>(BoxLayout.java:115)
        at com.sun.deploy.ui.MoreInfoDialog.initComponents(Unknown Source)
        at com.sun.deploy.ui.MoreInfoDialog.<init>(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.showMoreInfo(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1165)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1214)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
        at java.awt.Container.dispatchEventImpl(Container.java:1201)
        at java.awt.Window.dispatchEventImpl(Window.java:917)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.Dialog.show(Dialog.java:383)
        at java.awt.Component.show(Component.java:946)
        at java.awt.Component.setVisible(Component.java:903)
        at com.sun.deploy.ui.DialogTemplate.setVisible(Unknown Source)
        at com.sun.deploy.ui.UIFactory$10.execute(Unknown Source)
        at com.sun.javaws.ui.JavawsSysRun.delegate(Unknown Source)
        at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
        at com.sun.deploy.util.DeploySysRun$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.deploy.util.DeploySysRun.executePrivileged(Unknown Source)
        at com.sun.deploy.ui.UIFactory.showProgressDialog(Unknown Source)
        at com.sun.javaws.ui.DownloadWindow$7.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
        Exception occurred during event dispatching:
        java.awt.AWTError: Invalid axis
        at javax.swing.BoxLayout.<init>(BoxLayout.java:115)
        at com.sun.deploy.ui.MoreInfoDialog.initComponents(Unknown Source)
        at com.sun.deploy.ui.MoreInfoDialog.<init>(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.showMoreInfo(Unknown Source)
        at com.sun.deploy.ui.DialogTemplate.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1165)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1214)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
        at java.awt.Container.dispatchEventImpl(Container.java:1201)
        at java.awt.Window.dispatchEventImpl(Window.java:917)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.Dialog.show(Dialog.java:383)
        at java.awt.Component.show(Component.java:946)
        at java.awt.Component.setVisible(Component.java:903)
        at com.sun.deploy.ui.DialogTemplate.setVisible(Unknown Source)
        at com.sun.deploy.ui.UIFactory$10.execute(Unknown Source)
        at com.sun.javaws.ui.JavawsSysRun.delegate(Unknown Source)
        at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
        at com.sun.deploy.util.DeploySysRun$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.deploy.util.DeploySysRun.executePrivileged(Unknown Source)
        at com.sun.deploy.ui.UIFactory.showProgressDialog(Unknown Source)
        at com.sun.javaws.ui.DownloadWindow$7.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)

        > > - once it went through, but still with exception: (attached)
        > >
        > > java.lang.NoSuchMethodError
        > > at com.sun.deploy.cache.Cache$4.run(Unknown Source)
        > > at java.security.AccessController.doPrivileged(Native Method)
        > > at com.sun.deploy.cache.Cache.removeCacheEntry(Unknown Source)
        > > at com.sun.deploy.cache.Cache.removeCacheEntry(Unknown Source)
        > > at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
        > > at com.sun.javaws.LaunchDownload$1.run(Unknown Source)
        > > at java.lang.Thread.run(Thread.java:484)

        Even after first launch you can see the error:
        java.lang.NoSuchMethodError
        at com.sun.deploy.cache.Cache$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.deploy.cache.Cache.removeCacheEntry(Unknown Source)
        at com.sun.deploy.cache.Cache.removeCacheEntry(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
        at com.sun.javaws.LaunchDownload$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:484)
        STATUS: JRE Auto-Download START
        STATUS: JRE Auto-Download PASSED

         and on the Linux (RH AS3.0) you can not lauch application at all:
        Error occurred during initialization of VM
        Unable to load native library: /root/.java/deployment/cache/6.0/ext/E1119032697115/jre1.3.0_02/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

        I noticed problem on Windows also:
        after launching
        http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/hellojaws/JRE_AutoDownload_13002.jnlp
        jre1.3.0_02 installed on the system. Now if you will remove the cache folder from the machine you will not be able to uninstall 1.3.0_02 at all.
        It will show you the message: "Unable to locate the installation log file: ..../Sun/Java/Deployment/cache/6.0/ext/E1119033489640/Uninst.isu'. Uninstallation will not continue"


        ###@###.### 2005-06-17 20:28:07 GMT

              herrick Andy Herrick (Inactive)
              sergei Sergei Sapozhnikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: