Details
-
Bug
-
Resolution: Fixed
-
P3
-
7u6, 8
-
b06
-
os_x
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045642 | 8u25 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8040109 | 8u20 | Sergey Bylokhov | P3 | Resolved | Fixed | b11 |
JDK-8053870 | emb-8u26 | Sergey Bylokhov | P3 | Resolved | Fixed | b17 |
Description
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)
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)
Attachments
Issue Links
- backported by
-
JDK-8040109 [macosx] NPE in AquaSingleImagePainter.paint()
-
- Resolved
-
-
JDK-8045642 [macosx] NPE in AquaSingleImagePainter.paint()
-
- Resolved
-
-
JDK-8053870 [macosx] NPE in AquaSingleImagePainter.paint()
-
- Resolved
-