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

javax/swing/JPopupMenu/6675802/bug6675802.java fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • tbd
    • 9, 10, 11
    • client-libs
    • None

    Description

      windows7, jdk10 + 11

      the test things it passed but nonetheless we have an internal exception:
      STATUS:Passed.
      java.lang.NullPointerException: HDC for component
      at java.desktop/sun.java2d.loops.ScaledBlit.Scale(Native Method)
      at java.desktop/sun.java2d.pipe.DrawImage.scaleSurfaceData(DrawImage.java:1001)
      at java.desktop/sun.java2d.pipe.DrawImage.renderImageScale(DrawImage.java:647)
      at java.desktop/sun.java2d.pipe.DrawImage.tryCopyOrScale(DrawImage.java:319)
      at java.desktop/sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:258)
      at java.desktop/sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:777)
      at java.desktop/sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:1081)
      at java.desktop/sun.java2d.pipe.ValidatePipe.scaleImage(ValidatePipe.java:219)
      at java.desktop/sun.java2d.SunGraphics2D.scaleImage(SunGraphics2D.java:3188)
      at java.desktop/sun.java2d.SunGraphics2D.drawHiDPIImage(SunGraphics2D.java:3114)
      at java.desktop/sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3407)
      at java.desktop/sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3391)
      at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedFPScales(RepaintManager.java:1710)
      at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1606)
      at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1546)
      at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1313)
      at java.desktop/javax.swing.JComponent.paint(JComponent.java:1060)
      at java.desktop/java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
      at java.desktop/sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
      at java.desktop/sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
      at java.desktop/java.awt.Container.paint(Container.java:1999)
      at java.desktop/java.awt.Window.paint(Window.java:3940)
      at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:868)
      at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:840)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:840)
      at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:815)
      at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:764)
      at java.desktop/javax.swing.RepaintManager.access$1200(RepaintManager.java:69)
      at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1880)
      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:87)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      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)
      STATUS:Failed.`main' threw exception: java.lang.NullPointerException: HDC for component

      Attachments

        Issue Links

          Activity

            People

              serb Sergey Bylokhov
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: