JDK-8000486 : REGRESSION: Three java2d tests fail since jdk8b58 on Windows 7 with NullPointerException
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: generic
  • Submitted: 2012-10-05
  • Updated: 2014-10-10
  • Resolved: 2012-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b64Fixed
Description
Testsuite name: regression 
Test names:
closed/sun/java2d/volatileImage/LineClipTest.java 
closed/sun/java2d/SunGraphics2D/DisposedFrameGraphicsTest/DisposedFrameGraphicsTest.java
closed/java/awt/Graphics2D/CopyAreaIPETest/CopyAreaIPETest.java
JDK/JRE tested: JDK 8b58 
OS/architecture: Windows 7 x86, x64
Reproducible: Always 
Reproducible on machine: irl10073.ie.oracle.com 
Is it a Regression: Y 
Introduced in build: JDK 8 b58 
Test result on FCS: Pass 

logs: 

closed/sun/java2d/SunGraphics2D/DisposedFrameGraphicsTest/DisposedFrameGraphicsTest.java:

----------System.err:(47/3287)----------
java.lang.NullPointerException
	at sun.java2d.ScreenUpdateManager.getReplacementScreenSurface(ScreenUpdateManager.java:114)
	at sun.java2d.d3d.D3DScreenUpdateManager.getReplacementScreenSurface(D3DScreenUpdateManager.java:327)
	at sun.java2d.windows.GDIWindowSurfaceData.getReplacement(GDIWindowSurfaceData.java:285)
	at sun.java2d.SunGraphics2D.revalidateAll(SunGraphics2D.java:2352)
	at sun.java2d.SunGraphics2D.getCompClip(SunGraphics2D.java:500)
	at sun.java2d.windows.GDIRenderer.drawLine(GDIRenderer.java:60)
	at sun.java2d.SunGraphics2D.drawLine(SunGraphics2D.java:2141)
	at DisposedFrameGraphicsTest$1.paint(DisposedFrameGraphicsTest.java:21)
	at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
	at sun.awt.RepaintArea.paint(RepaintArea.java:240)
	at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:348)
	at java.awt.Component.dispatchEventImpl(Component.java:4945)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4691)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:722)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.awt.EventQueue$3.run(EventQueue.java:679)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:695)
	at java.awt.EventQueue$4.run(EventQueue.java:693)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:692)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
java.lang.RuntimeException: Test FAILED: The following exception has been thrownjava.lang.NullPointerException
	at DisposedFrameGraphicsTest.main(DisposedFrameGraphicsTest.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:474)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
	at java.lang.Thread.run(Thread.java:722)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED: The following exception has been thrownjava.lang.NullPointerException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED: The following exception has been thrownjava.lang.NullPointerException
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED: The following exception has been thrownjava.lang.NullPointerException


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED: The following exception has been thrownjava.lang.NullPointerException

-------------------------------------------------------------

closed/sun/java2d/volatileImage/LineClipTest.java:

----------System.err:(44/2974)----------
java.lang.NullPointerException
	at sun.java2d.ScreenUpdateManager.getReplacementScreenSurface(ScreenUpdateManager.java:114)
	at sun.java2d.d3d.D3DScreenUpdateManager.getReplacementScreenSurface(D3DScreenUpdateManager.java:327)
	at sun.java2d.windows.GDIWindowSurfaceData.getReplacement(GDIWindowSurfaceData.java:285)
	at sun.java2d.SunGraphics2D.revalidateAll(SunGraphics2D.java:2352)
	at sun.java2d.SunGraphics2D.getCompClip(SunGraphics2D.java:500)
	at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:558)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:71)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
	at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3088)
	at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3073)
	at LineClipTest.paint(LineClipTest.java:282)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116)
	at java.awt.Container.paint(Container.java:1968)
	at java.awt.Window.paint(Window.java:3877)
	at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
	at sun.awt.RepaintArea.paint(RepaintArea.java:240)
	at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:348)
	at java.awt.Component.dispatchEventImpl(Component.java:4945)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4691)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:722)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.awt.EventQueue$3.run(EventQueue.java:679)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:695)
	at java.awt.EventQueue$4.run(EventQueue.java:693)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:692)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
STATUS:Failed.`main' threw exception: java.lang.NullPointerException
STATUS:Failed.`main' threw exception: java.lang.NullPointerException
result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException

-------------------------------------------------------------------------

closed/java/awt/Graphics2D/CopyAreaIPETest/CopyAreaIPETest.java:

----------System.err:(66/4445)----------
java.lang.NullPointerException
	at sun.java2d.ScreenUpdateManager.getReplacementScreenSurface(ScreenUpdateManager.java:114)
	at sun.java2d.d3d.D3DScreenUpdateManager.getReplacementScreenSurface(D3DScreenUpdateManager.java:327)
	at sun.java2d.windows.GDIWindowSurfaceData.getReplacement(GDIWindowSurfaceData.java:285)
	at sun.java2d.SunGraphics2D.revalidateAll(SunGraphics2D.java:2352)
	at sun.java2d.SunGraphics2D.getCompClip(SunGraphics2D.java:500)
	at sun.java2d.windows.GDIWindowSurfaceData.copyArea(GDIWindowSurfaceData.java:309)
	at sun.java2d.SunGraphics2D.doCopyArea(SunGraphics2D.java:2029)
	at sun.java2d.SunGraphics2D.copyArea(SunGraphics2D.java:2009)
	at CopyAreaIPETest$1.componentShown(CopyAreaIPETest.java:35)
	at java.awt.Component.processComponentEvent(Component.java:6345)
	at java.awt.Component.processEvent(Component.java:6293)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Window.processEvent(Window.java:2022)
	at java.awt.Component.dispatchEventImpl(Component.java:4869)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4691)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:722)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.awt.EventQueue$3.run(EventQueue.java:679)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:695)
	at java.awt.EventQueue$4.run(EventQueue.java:693)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:692)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
java.lang.RuntimeException: Test failed due to exception: null
	at CopyAreaIPETest$1.componentShown(CopyAreaIPETest.java:40)
	at java.awt.Component.processComponentEvent(Component.java:6345)
	at java.awt.Component.processEvent(Component.java:6293)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Window.processEvent(Window.java:2022)
	at java.awt.Component.dispatchEventImpl(Component.java:4869)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4691)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:722)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.awt.EventQueue$3.run(EventQueue.java:679)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:695)
	at java.awt.EventQueue$4.run(EventQueue.java:693)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:692)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
STATUS:Passed.
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed due to exception: null
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed due to exception: null


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed due to exception: null
Comments
verified on fx-sqe25.ru using jdk8b66
04-12-2012

This appears to have been introduced by the fix for JDK-7153339 : InternalError when drawLine with Xor and Antialiasing
05-10-2012