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

[Canvas] Several tests get IllegalStateException: Operation requires resource lock

    XMLWordPrintable

    Details

      Description

      I see the following exception when running the Canvas tests:

      java.lang.IllegalStateException: Operation requires resource lock
      at com.sun.prism.impl.ManagedResource.assertLocked(ManagedResource.java:392)
      at com.sun.prism.impl.BaseTexture.assertLocked(BaseTexture.java:258)
      at com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:748)
      at com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:101)
      at com.sun.prism.impl.ps.BaseShaderContext.checkState(BaseShaderContext.java:616)
      at com.sun.prism.impl.ps.BaseShaderContext.validateTextureOp(BaseShaderContext.java:559)
      at com.sun.prism.impl.ps.BaseShaderContext.validateTextureOp(BaseShaderContext.java:483)
      at com.sun.prism.impl.BaseGraphics.drawTexture(BaseGraphics.java:397)
      at com.sun.prism.impl.ps.BaseShaderGraphics.drawTexture(BaseShaderGraphics.java:139)
      at com.sun.prism.impl.BaseGraphics.drawTexture(BaseGraphics.java:378)
      at com.sun.javafx.sg.prism.NGCanvas.applyEffectOnAintoC(NGCanvas.java:732)
      at com.sun.javafx.sg.prism.NGCanvas.renderStream(NGCanvas.java:1012)
      at com.sun.javafx.sg.prism.NGCanvas.renderContent(NGCanvas.java:595)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:474)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:327)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:92)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: