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

[TEST_BUG]: sanity/client/SwingSet/src/EditorPaneDemoTest: Failed with AssertionError from java.util.HashMap$TreeNode.moveRootToFront

    Details

      Description

      java version "11-ea" 2018-09-25
      Java(TM) SE Runtime Environment 18.9 (build 11-ea+10)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+10, mixed mode)

      Mac OS X 10.12 (x86_64)


      Getting below error while running test sanity/client/SwingSet/src/EditorPaneDemoTest.java repeatedly on a loop.

      java.lang.AssertionError
      at java.base/java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1901)
      at java.base/java.util.HashMap$TreeNode.putTreeVal(HashMap.java:2066)
      at java.base/java.util.HashMap.putVal(HashMap.java:638)
      at java.base/java.util.HashMap.put(HashMap.java:612)
      at java.desktop/sun.awt.image.ImageCache.setImage(ImageCache.java:142)
      at java.desktop/sun.awt.image.MultiResolutionCachedImage.getResolutionVariant(MultiResolutionCachedImage.java:85)
      at java.desktop/sun.java2d.SunGraphics2D.getResolutionVariant(SunGraphics2D.java:3291)
      at java.desktop/sun.java2d.SunGraphics2D.drawHiDPIImage(SunGraphics2D.java:3129)
      at java.desktop/sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3357)
      at java.desktop/sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3307)
      at java.desktop/com.apple.laf.AquaPainter$AquaSingleImagePainter.paintFromSingleCachedImage(AquaPainter.java:186)
      at java.desktop/com.apple.laf.AquaPainter$AquaSingleImagePainter.paint(AquaPainter.java:141)
      at java.desktop/com.apple.laf.AquaPainter.paint(AquaPainter.java:90)
      at java.desktop/com.apple.laf.AquaScrollBarUI.paint(AquaScrollBarUI.java:147)
      at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
      at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:797)
      at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074)
      at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
      at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
      at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5255)
      at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1643)
      at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1618)
      at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1556)
      at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1323)
      at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5203)
      at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5013)
      at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:865)
      at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:848)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:848)
      at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:823)
      at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:772)
      at java.desktop/javax.swing.RepaintManager.access$1200(RepaintManager.java:69)
      at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1890)
      at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at org.netbeans.jemmy.QueueTool$JemmyQueue.dispatchEvent(QueueTool.java:654)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                gpatil Gauri Patil
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: