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

NPE in PPSRenderer (when display disconnected?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8
    • javafx
    • JavaFX 8, b109, Windows 7 64-bit (with Java 32-bit)

      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)

            vadim Vadim Pakhnushev
            jhendrikx John Hendrikx
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: