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

Hang in java.awt.MediaTracker.waitForID

XMLWordPrintable

    • generic
    • generic

      Stress test that runs several tests in separate threads hangs forever in java.awt.MediaTracker.waitForID:

      "AWT-EventQueue-0" prio=10 tid=0x0811e400 nid=0x3d80 in Object.wait() [0xdeb95000]
         java.lang.Thread.State: WAITING (on object monitor)
              at java.lang.Object.wait(Native Method)
              - waiting on <0xe651f1f8> (a java.awt.MediaTracker)
              at java.awt.MediaTracker.waitForID(MediaTracker.java:651)
              - locked <0xe651f1f8> (a java.awt.MediaTracker)
              at javax.swing.ImageIcon.loadImage(ImageIcon.java:264)
              - locked <0xe651f1f8> (a java.awt.MediaTracker)
              at javax.swing.ImageIcon.<init>(ImageIcon.java:194)
              at javax.swing.colorchooser.DefaultHSBChooserPanel.initializePalettesIfNecessary(DefaultHSBChooserPanel.java:481)
              at javax.swing.colorchooser.DefaultHSBChooserPanel.buildSliderPalettePanel(DefaultHSBChooserPanel.java:451)
              at javax.swing.colorchooser.DefaultHSBChooserPanel.buildChooser(DefaultHSBChooserPanel.java:258)
              at javax.swing.colorchooser.AbstractColorChooserPanel.installChooserPanel(AbstractColorChooserPanel.java:141)
              at javax.swing.colorchooser.DefaultHSBChooserPanel.installChooserPanel(DefaultHSBChooserPanel.java:226)
              at javax.swing.plaf.basic.BasicColorChooserUI$Handler.propertyChange(BasicColorChooserUI.java:285)
              at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
              at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
              at java.awt.Component.firePropertyChange(Component.java:8132)
              at javax.swing.JColorChooser.setChooserPanels(JColorChooser.java:459)
              at javax.swing.plaf.basic.BasicColorChooserUI.installUI(BasicColorChooserUI.java:91)
              at javax.swing.JComponent.setUI(JComponent.java:662)
              at javax.swing.JColorChooser.setUI(JColorChooser.java:222)
              at javax.swing.JColorChooser.updateUI(JColorChooser.java:233)
              at javax.swing.JColorChooser.<init>(JColorChooser.java:196)
              at javax.swing.JColorChooser.<init>(JColorChooser.java:184)
              at javasoft.sqe.tests.api.javax.swing.JColorChooser.CtorTests.JColorChooser0003(CtorTests.java:149)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
              at javasoft.sqe.jck.lib.EDTest.access$001(EDTest.java:31)
              at javasoft.sqe.jck.lib.EDTest$1.run(EDTest.java:45)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

            denis Denis Fokin (Inactive)
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: