Today during routine use of my program I got these exceptions. I suspect it has something to do with the disconnection of a display cable under Windows (I detached one displayed). Only later I noticed a string of these exceptions in the log:
java.lang.NullPointerException
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.dispose(PPSRenderer.java:138)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer$1.factoryReset(PPSRenderer.java:76)
at com.sun.prism.impl.BaseResourceFactory.notifyReset(BaseResourceFactory.java:99)
at com.sun.prism.d3d.D3DResourceFactory.notifyReset(D3DResourceFactory.java:443)
at com.sun.prism.d3d.D3DContext.testLostStateAndReset(D3DContext.java:160)
at com.sun.prism.d3d.D3DResourceFactory.isDeviceReady(D3DResourceFactory.java:111)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:70)
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:129)
at java.lang.Thread.run(Thread.java:724)
java.lang.NullPointerException
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.dispose(PPSRenderer.java:138)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer$1.factoryReset(PPSRenderer.java:76)
at com.sun.prism.impl.BaseResourceFactory.notifyReset(BaseResourceFactory.java:99)
at com.sun.prism.d3d.D3DResourceFactory.notifyReset(D3DResourceFactory.java:443)
at com.sun.prism.d3d.D3DContext.testLostStateAndReset(D3DContext.java:160)
at com.sun.prism.d3d.D3DResourceFactory.isDeviceReady(D3DResourceFactory.java:111)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:70)
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:129)
at java.lang.Thread.run(Thread.java:724)
- duplicates
-
JDK-8094879 Black screen and NPE after access via Remote Desktop
- Closed
-
JDK-8097168 [Stage] Windows: Stage and controls non responsive after switch display configuration
- Closed
-
JDK-8095607 Nullpointer exception
- Closed