Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126575

WebNode.GUIMark2-Vector fails with NullPointerException in multithreaded mode

XMLWordPrintable

    • web

      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.

            ant Anton Tarasov (Inactive)
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: