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

cannot start JavaFX 1.3.x webstart application if EULA needs to be shown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: 7u6
    • Component/s: deploy
    • Subcomponent:
    • Introduced In Build:
      b136
    • Introduced In Version:
      7
    • CPU:
      x86
    • OS:
      windows

      Description

      rm ~/.javafx_eula_accepted

      launch fx 1.3 webstart application: http://javafx.com/samples/BrickBreaker/webstart/BrickBreaker.jnlp

      nothing will be displayed, we have a deadlock when trying to show the JavaFX EULA:

      Dump thread stack ...
      ----------------------------------------------------
      2011-06-08 15:57:58
      Full thread dump Java HotSpot(TM) Client VM (21.0-b14 mixed mode, sharing):

      "D3D Screen Updater" daemon prio=8 tid=0x03155400 nid=0x2b8 in Object.wait() [0x042bf000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2836be08> (a java.lang.Object)
         at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
         - locked <0x2836be08> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)

      "Timer-0" daemon prio=6 tid=0x0329a800 nid=0xf3c in Object.wait() [0x03cdf000]
        java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x2839bc98> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Unknown Source)
         - locked <0x2839bc98> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Unknown Source)

      "AWT-EventQueue-0" prio=6 tid=0x03f2cc00 nid=0xe94 waiting on condition [0x03e6e000]
        java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x280206e0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.awt.EventQueue.getNextEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.WaitDispatchSupport$2.run(Unknown Source)
         at java.awt.WaitDispatchSupport$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.WaitDispatchSupport.enter(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at java.awt.Window.setVisible(Unknown Source)
         at java.awt.Dialog.setVisible(Unknown Source)
         at com.sun.javaws.ui.JavawsSysRun.delegateFromEDT(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.showApiDialog(Unknown Source)
         at com.sun.deploy.uitoolkit.impl.awt.ui.UIFactoryImpl.showMessageDialog(Unknown Source)
         at com.sun.jnlp.ApiDialog.askUser(Unknown Source)
         at com.sun.jnlp.ApiDialog.askUser(Unknown Source)
         at com.sun.jnlp.ApiDialog.askConnect(Unknown Source)
         at com.sun.javaws.security.JavaWebStartSecurity.checkConnect(Unknown Source)
         at java.net.InetAddress.getAllByName0(Unknown Source)
         at java.net.InetAddress.getAllByName0(Unknown Source)
         at java.net.InetAddress.getAllByName(Unknown Source)
         at java.net.InetAddress.getByName(Unknown Source)
         at java.net.URLStreamHandler.getHostAddress(Unknown Source)
         - locked <0x28020610> (a sun.net.www.protocol.http.Handler)
         at java.net.URLStreamHandler.hashCode(Unknown Source)
         at java.net.URL.hashCode(Unknown Source)
         - locked <0x28498190> (a java.net.URL)
         at sun.net.www.protocol.jar.Handler.hashCode(Unknown Source)
         at java.net.URL.hashCode(Unknown Source)
         - locked <0x284981e0> (a java.net.URL)
         at java.util.HashMap.get(Unknown Source)
         at sun.misc.SoftCache.get(Unknown Source)
         at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
         - locked <0x2801ce70> (a sun.misc.SoftCache)
         at sun.awt.SunToolkit.getImage(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at com.sun.javafx.eula.EulaDialog$2.<init>(Unknown Source)
         at com.sun.javafx.eula.EulaDialog.getBackgroundPanel(Unknown Source)
         at com.sun.javafx.eula.EulaDialog.<init>(Unknown Source)
         at com.sun.javafx.eula.EulaDialog$12.run(Unknown Source)
         at com.sun.javafx.eula.EulaDialog.askUserAcceptEULA(Unknown Source)
         at com.sun.javafx.eula.EulaImpl.askUserAcceptEULA(Unknown Source)
         at com.sun.javafx.eula.EulaImpl.show(Unknown Source)
         at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

      "AWT-EventQueue-1" prio=6 tid=0x032ad800 nid=0x228 waiting on condition [0x0347e000]
        java.lang.Thread.State: RUNNABLE
         at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacksImpl(Native Method)
         at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacks(Unknown Source)
         at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow$2.actionPerformed(Unknown Source)
         at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

      "AWT-Shutdown" prio=6 tid=0x03e79000 nid=0xc90 in Object.wait() [0x0334f000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe6470> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:503)
         at sun.awt.AWTAutoShutdown.run(Unknown Source)
         - locked <0x27fe6470> (a java.lang.Object)
         at java.lang.Thread.run(Unknown Source)

      "Keep-Alive-Timer" daemon prio=8 tid=0x031c0800 nid=0xc30 waiting on condition [0x0385f000]
        java.lang.Thread.State: TIMED_WAITING (sleeping)
         at java.lang.Thread.sleep(Native Method)
         at sun.net.www.http.KeepAliveCache.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

      "CacheCleanUpThread" daemon prio=6 tid=0x031a4000 nid=0xff8 in Object.wait() [0x036ff000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe65c8> (a com.sun.deploy.cache.CleanupThread)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
         - locked <0x27fe65c8> (a com.sun.deploy.cache.CleanupThread)

      "CacheMemoryCleanUpThread" daemon prio=6 tid=0x031a2c00 nid=0x84c in Object.wait() [0x036af000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe66b8> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x27fe66b8> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)

      "TimerQueue" daemon prio=6 tid=0x03182000 nid=0xf28 waiting on condition [0x0363f000]
        java.lang.Thread.State: WAITING (parking)
         at sun.misc.Unsafe.park(Native Method)
         - parking to wait for <0x27fe6740> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
         at java.util.concurrent.locks.LockSupport.park(Unknown Source)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
         at java.util.concurrent.DelayQueue.take(Unknown Source)
         at javax.swing.TimerQueue.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

      "ConsoleTraceListener" daemon prio=6 tid=0x03173400 nid=0xdc8 in Object.wait() [0x035ef000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe6820> (a com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$BoundedStringBuffer)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
         - locked <0x27fe6820> (a com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$BoundedStringBuffer)

      "DestroyJavaVM" prio=6 tid=0x003d8c00 nid=0x640 waiting on condition [0x00000000]
        java.lang.Thread.State: RUNNABLE

      "Javaws Secure Thread" daemon prio=6 tid=0x030ef800 nid=0x3bc waiting for monitor entry [0x034cf000]
        java.lang.Thread.State: BLOCKED (on object monitor)
         at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
         - waiting to lock <0x2801ce70> (a sun.misc.SoftCache)
         at sun.awt.SunToolkit.getImage(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at com.sun.deploy.resources.ResourceManager.getIcon(Unknown Source)
         at com.sun.deploy.ui.DialogTemplate.createTopPanel(Unknown Source)
         at com.sun.deploy.ui.DialogTemplate.setApiContent(Unknown Source)
         at com.sun.deploy.ui.UIFactory$10.execute(Unknown Source)
         at com.sun.javaws.ui.JavawsSysRun$SecureThread.doWork(Unknown Source)
         at com.sun.javaws.ui.JavawsSysRun$SecureThread.run(Unknown Source)
         - locked <0x27fe6a30> (a java.lang.Object)

      "AWT-Windows" daemon prio=6 tid=0x030eb800 nid=0xe44 runnable [0x0339f000]
        java.lang.Thread.State: RUNNABLE
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

      "Java2D Disposer" daemon prio=10 tid=0x030e5c00 nid=0xa10 in Object.wait() [0x032ff000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe6b08> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x27fe6b08> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at sun.java2d.Disposer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

      "traceMsgQueueThread" daemon prio=6 tid=0x02bf9400 nid=0xfc4 in Object.wait() [0x02eef000]
        java.lang.Thread.State: BLOCKED (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27f147b0> (a java.util.ArrayList)
         at java.lang.Object.wait(Object.java:503)
         at com.sun.deploy.trace.Trace$TraceMsgQueueChecker.run(Unknown Source)
         - locked <0x27f147b0> (a java.util.ArrayList)
         at java.lang.Thread.run(Unknown Source)

      "Service Thread" daemon prio=6 tid=0x02be0c00 nid=0x870 runnable [0x00000000]
        java.lang.Thread.State: RUNNABLE

      "C1 CompilerThread0" daemon prio=10 tid=0x02bd2c00 nid=0x4ec waiting on condition [0x00000000]
        java.lang.Thread.State: RUNNABLE

      "Attach Listener" daemon prio=10 tid=0x02bd1000 nid=0x8dc runnable [0x00000000]
        java.lang.Thread.State: RUNNABLE

      "Signal Dispatcher" daemon prio=10 tid=0x02bcfc00 nid=0xa68 runnable [0x00000000]
        java.lang.Thread.State: RUNNABLE

      "Finalizer" daemon prio=8 tid=0x02bbfc00 nid=0x1d8 in Object.wait() [0x02d0f000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe6da8> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         - locked <0x27fe6da8> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
         at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

      "Reference Handler" daemon prio=10 tid=0x02bb0000 nid=0xc48 in Object.wait() [0x02cbf000]
        java.lang.Thread.State: WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         - waiting on <0x27fe6420> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Object.java:503)
         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x27fe6420> (a java.lang.ref.Reference$Lock)

      "VM Thread" prio=10 tid=0x02bae400 nid=0x72c runnable

      "VM Periodic Task Thread" prio=10 tid=0x02be2c00 nid=0x1e8 waiting on condition

      java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
         - locked <0x27fe6420> (a java.lang.ref.Reference$Lock)

      "VM Thread" prio=10 tid=0x02bae400 nid=0x72c runnable

      "VM Periodic Task Thread" prio=10 tid=0x02be2c00 nid=0x1e8 waiting on condition

        Attachments

          Activity

            People

            • Assignee:
              ngthomas Thomas Ng (Inactive)
              Reporter:
              ngthomas Thomas Ng (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: