-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b13
-
generic
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2222461 | 8 | Sergey Bylokhov | P3 | Resolved | Fixed | b68 |
JDK-8181005 | openjdk7u | Sergey Bylokhov | P3 | Resolved | Fixed | master |
http://java.net/jira/browse/MACOSX_PORT-249 submitted 2011/08/09 by Alexander Petrov
1)For Canvas call createBufferStrategy(2)
2)call getBufferStrategy()
Result:
java.lang.NullPointerException
at java.awt.Component.getDrawGraphics(Component.java:4115)
at RenderingToCachedGraphicsTest.runTest(RenderingToCachedGraphicsTest.java:92)
at RenderingToCachedGraphicsTest.access./Mac2.bugs00(RenderingToCachedGraphicsTest.java:51)
at RenderingToCachedGraphicsTest.paint(RenderingToCachedGraphicsTest.java:71)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.lwawt.LWComponentPeer.handleJavaPaintEvent(LWComponentPeer.java:980)
at sun.lwawt.LWComponentPeer.handleEvent(LWComponentPeer.java:945)
at java.awt.Component.dispatchEventImpl(Component.java:4936)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access./Mac2.bugs00(EventQueue.java:101)
at java.awt.EventQueue.run(EventQueue.java:666)
at java.awt.EventQueue.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue.run(EventQueue.java:680)
at java.awt.EventQueue.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Build: b202
Keywords: test-fail-macos
Tests failed (Regression):
sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java
1)For Canvas call createBufferStrategy(2)
2)call getBufferStrategy()
Result:
java.lang.NullPointerException
at java.awt.Component.getDrawGraphics(Component.java:4115)
at RenderingToCachedGraphicsTest.runTest(RenderingToCachedGraphicsTest.java:92)
at RenderingToCachedGraphicsTest.access./Mac2.bugs00(RenderingToCachedGraphicsTest.java:51)
at RenderingToCachedGraphicsTest.paint(RenderingToCachedGraphicsTest.java:71)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.lwawt.LWComponentPeer.handleJavaPaintEvent(LWComponentPeer.java:980)
at sun.lwawt.LWComponentPeer.handleEvent(LWComponentPeer.java:945)
at java.awt.Component.dispatchEventImpl(Component.java:4936)
at java.awt.Component.dispatchEvent(Component.java:4686)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
at java.awt.EventQueue.access./Mac2.bugs00(EventQueue.java:101)
at java.awt.EventQueue.run(EventQueue.java:666)
at java.awt.EventQueue.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue.run(EventQueue.java:680)
at java.awt.EventQueue.run(EventQueue.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Build: b202
Keywords: test-fail-macos
Tests failed (Regression):
sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java
- backported by
-
JDK-2222461 [macosx] NullPointerException in getBufferStrategy()
- Resolved
-
JDK-8181005 [macosx] NullPointerException in getBufferStrategy()
- Resolved
- relates to
-
JDK-7146522 [macosx] in closed/java/awt/Component/6307563/bug6307563.java, empty buffer strategy
- Closed