JDK-8126575 : WebNode.GUIMark2-Vector fails with NullPointerException in multithreaded mode
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-08-06
  • Updated: 2015-06-17
  • Resolved: 2012-09-20
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 8
8Resolved
Related Reports
Blocks :  
Blocks :  
Description
WebNode.GUIMark2-Vector performance benchmark fails with
 java.lang.NullPointerException
at java.util.LinkedList.unlink(LinkedList.java:209)
at java.util.LinkedList.remove(LinkedList.java:524)
at com.sun.webpane.platform.WebPage.removeFirstRenderQueue(WebPage.java:273)
at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:656)
at com.sun.webpane.platform.WebPage.paint(WebPage.java:640)
at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:71)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1164)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1164)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:124)
at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:181)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at com.sun.prism.render.RenderJob.run(RenderJob.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:98)
at java.lang.Thread.run(Thread.java:722)

starting from build 3.0-graphics-scrum-80 which is the first build in which multithreaded mode is enabled by default.

Steps to reproduce the issue:
> cd JFX_WS/tests/performance/WebNodeTestSuite/
> ant
> java -cp "JFX_HOME/rt/lib/jfxrt.jar;./dist/WebNodeTestSuite.jar;../FXBenchmark/dist/FXBenchmark.jar;../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
  jrockit.bm.Main webnodetestsuite.bm.GUIMark2Benchmark -i 10 -tr 10 -wt 5 -resource guimark2-vector.html


The issue seems to be not reproduced in case multithreaded mode is disabled.
At least running the benchmark with -Dquantum.multithreaded=false doesn't fail.


Comments
Fixed by RT-23842.
20-09-2012

I think that RT-23842 is the root cause of this bug.
06-08-2012