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

[macosx] NPE in AquaSingleImagePainter.paint()

XMLWordPrintable

    • b06
    • os_x

        See attached testcase.
        Log:
        Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at java.awt.Rectangle.intersection(Rectangle.java:822)
        at com.apple.laf.AquaPainter$AquaSingleImagePainter.paintFromSingleCachedImage(AquaPainter.java:140)
        at com.apple.laf.AquaPainter$AquaSingleImagePainter.paint(AquaPainter.java:135)
        at com.apple.laf.AquaPainter.paint(AquaPainter.java:88)
        at com.apple.laf.AquaButtonBorder.doButtonPaint(AquaButtonBorder.java:104)
        at com.apple.laf.AquaButtonBorder$Dynamic.doButtonPaint(AquaButtonBorder.java:241)
        at com.apple.laf.AquaButtonBorder.paintButton(AquaButtonBorder.java:100)
        at com.apple.laf.AquaButtonUI.paint(AquaButtonUI.java:275)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
        at javax.swing.JComponent.paintComponent(JComponent.java:778)
        at ButtonNPE$JRoundedButton.paintComponent(ButtonNPE.java:44)

              serb Sergey Bylokhov
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: