-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
Mac
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)
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)
- blocks
-
JDK-8113631 JFXPanel doesn't work with ES2, on Mac
- Closed
- relates to
-
JDK-8114426 Prism/ES2: FX application with multiple stages throws GLException on Windows
- Closed