-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
x86
-
windows_xp
Regression test java/awt/Graphics2D/GraphicsExposureTest/GraphicsExposureTest.html failing intermittently on WinXP.
This test has been failing intermittently on Nightly for awhile, going on/off the radar. The test is prone to fail more on faster machines.
- The test became unstable with Mustang B32.
- The applet based test will fail with NPE.
#Test Results (version 2)
#Mon Oct 03 09:59:19 PDT 2005
#checksum:724e2ae4075d53e4
#-----testdescription-----
$file=Y:\\swing\\client-dtf\\knight_ws\\suites\\6.0_Client_Nightly\\2d_Regression\\2d_Regression\\java\\awt\\Graphics2D\\GraphicsExposureTest\\GraphicsExposureTest.html
$root=Y:\\swing\\client-dtf\\knight_ws\\suites\\6.0_Client_Nightly\\2d_Regression\\2d_Regression
author=###@###.###
keywords=bug4984142
run=USER_SPECIFIED applet GraphicsExposureTest.html\r\n
source=GraphicsExposureTest.html
title=Tests JScrollBar repainting (GraphicsExposure X events should be generated).
#-----environment-----
#-----testresult-----
description=file:///Y:/swing/client-dtf/knight_ws/suites/6.0_Client_Nightly/2d_Regression/2d_Regression/java/awt/Graphics2D/GraphicsExposureTest/GraphicsExposureTest.html
end=Mon Oct 03 09:59:19 PDT 2005
environment=regtest
execStatus=Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
javatestOS=Windows XP 5.1 (x86)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile applet
start=Mon Oct 03 09:59:07 PDT 2005
status=Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
test=java/awt/Graphics2D/GraphicsExposureTest/GraphicsExposureTest.html
work=Y:\\swing\\client-dtf\\knight_ws\\exec1\\Client_Nightly-Job_2D_REGRESSION_Windows_XP_Prof-en-2005-10-03-08-36-58-0758\\results\\java\\awt\\Graphics2D\\GraphicsExposureTest
#section:script_messages
----------messages:(4/330)----------
JDK under test: (Y:/swing/client-dtf/knight_ws/exec1/Client_Nightly-Job_2D_REGRESSION_Windows_XP_Prof-en-2005-10-03-08-36-58-0758/jdk)
java version "1.6.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-java2d_03_oct_2005_01_03-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b54, mixed mode)
#section:build
----------messages:(3/109)----------
command: build GraphicsExposureTest
reason: Named class compiled on demand
elapsed time (seconds): 5.719
result: Passed. Compilation successful
#section:compile
----------messages:(3/264)*----------
command: compile Y:\\swing\\client-dtf\\knight_ws\\suites\\6.0_Client_Nightly\\2d_Regression\\2d_Regression\\java\\awt\\Graphics2D\\GraphicsExposureTest\\GraphicsExposureTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 5.703
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:applet
----------messages:(3/144)----------
command: applet GraphicsExposureTest.html
reason: User specified action: run applet GraphicsExposureTest.html
elapsed time (seconds): 6.906
----------System.out:(0/0)----------
----------System.err:(26/1843)----------
java.lang.NullPointerException
at javax.swing.text.PlainView.paint(PlainView.java:255)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1358)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:649)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:791)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:770)
at javax.swing.JComponent.paintComponent(JComponent.java:710)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5081)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:279)
at javax.swing.RepaintManager.paint(RepaintManager.java:1055)
at javax.swing.JComponent.paint(JComponent.java:961)
at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1008)
at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1605)
at javax.swing.JViewport.windowBlitPaint(JViewport.java:1566)
at javax.swing.JViewport.setViewPosition(JViewport.java:1111)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1027)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1016)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
at javax.swing.JScrollBar.setValue(JScrollBar.java:441)
at GraphicsExposureTest.test(GraphicsExposureTest.java:72)
at GraphicsExposureTest.start(GraphicsExposureTest.java:64)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
at java.lang.Thread.run(Thread.java:611)
STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException
result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
test result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
- The test also has a pattern of regular failures on Solaris10-AMD64 with Nightly DTF. On rare occasion it has also failed on Cinnabar as well.
This test has been failing intermittently on Nightly for awhile, going on/off the radar. The test is prone to fail more on faster machines.
- The test became unstable with Mustang B32.
- The applet based test will fail with NPE.
#Test Results (version 2)
#Mon Oct 03 09:59:19 PDT 2005
#checksum:724e2ae4075d53e4
#-----testdescription-----
$file=Y:\\swing\\client-dtf\\knight_ws\\suites\\6.0_Client_Nightly\\2d_Regression\\2d_Regression\\java\\awt\\Graphics2D\\GraphicsExposureTest\\GraphicsExposureTest.html
$root=Y:\\swing\\client-dtf\\knight_ws\\suites\\6.0_Client_Nightly\\2d_Regression\\2d_Regression
author=###@###.###
keywords=bug4984142
run=USER_SPECIFIED applet GraphicsExposureTest.html\r\n
source=GraphicsExposureTest.html
title=Tests JScrollBar repainting (GraphicsExposure X events should be generated).
#-----environment-----
#-----testresult-----
description=file:///Y:/swing/client-dtf/knight_ws/suites/6.0_Client_Nightly/2d_Regression/2d_Regression/java/awt/Graphics2D/GraphicsExposureTest/GraphicsExposureTest.html
end=Mon Oct 03 09:59:19 PDT 2005
environment=regtest
execStatus=Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
javatestOS=Windows XP 5.1 (x86)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile applet
start=Mon Oct 03 09:59:07 PDT 2005
status=Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
test=java/awt/Graphics2D/GraphicsExposureTest/GraphicsExposureTest.html
work=Y:\\swing\\client-dtf\\knight_ws\\exec1\\Client_Nightly-Job_2D_REGRESSION_Windows_XP_Prof-en-2005-10-03-08-36-58-0758\\results\\java\\awt\\Graphics2D\\GraphicsExposureTest
#section:script_messages
----------messages:(4/330)----------
JDK under test: (Y:/swing/client-dtf/knight_ws/exec1/Client_Nightly-Job_2D_REGRESSION_Windows_XP_Prof-en-2005-10-03-08-36-58-0758/jdk)
java version "1.6.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-java2d_03_oct_2005_01_03-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b54, mixed mode)
#section:build
----------messages:(3/109)----------
command: build GraphicsExposureTest
reason: Named class compiled on demand
elapsed time (seconds): 5.719
result: Passed. Compilation successful
#section:compile
----------messages:(3/264)*----------
command: compile Y:\\swing\\client-dtf\\knight_ws\\suites\\6.0_Client_Nightly\\2d_Regression\\2d_Regression\\java\\awt\\Graphics2D\\GraphicsExposureTest\\GraphicsExposureTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 5.703
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:applet
----------messages:(3/144)----------
command: applet GraphicsExposureTest.html
reason: User specified action: run applet GraphicsExposureTest.html
elapsed time (seconds): 6.906
----------System.out:(0/0)----------
----------System.err:(26/1843)----------
java.lang.NullPointerException
at javax.swing.text.PlainView.paint(PlainView.java:255)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1358)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:649)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:791)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:770)
at javax.swing.JComponent.paintComponent(JComponent.java:710)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5081)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:279)
at javax.swing.RepaintManager.paint(RepaintManager.java:1055)
at javax.swing.JComponent.paint(JComponent.java:961)
at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1008)
at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1605)
at javax.swing.JViewport.windowBlitPaint(JViewport.java:1566)
at javax.swing.JViewport.setViewPosition(JViewport.java:1111)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1027)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1016)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
at javax.swing.JScrollBar.setValue(JScrollBar.java:441)
at GraphicsExposureTest.test(GraphicsExposureTest.java:72)
at GraphicsExposureTest.start(GraphicsExposureTest.java:64)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
at java.lang.Thread.run(Thread.java:611)
STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException
result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
test result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
- The test also has a pattern of regular failures on Solaris10-AMD64 with Nightly DTF. On rare occasion it has also failed on Cinnabar as well.
- duplicates
-
JDK-6331315 REGRESSION: Swings painting code should better handle painting from multiple threads better
- Resolved