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

Mac: NPE encountered when call to renderToImage

XMLWordPrintable

      Running renderToImage toy gives the following NPE

      java.lang.NullPointerException
              at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:52)
              at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:48)
              at com.sun.javafx.tk.quantum.QuantumToolkit$PlatformImage.getRT(QuantumToolkit.java:974)
              at com.sun.javafx.tk.quantum.QuantumToolkit$7.run(QuantumToolkit.java:1090)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
              at com.sun.prism.tkal.RenderJob.run(RenderJob.java:29)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)

            dcherepanov Dmitry Cherepanov
            jandrese Joe Andresen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: