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

NPE in PPSRenderer (when display disconnected?)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      JavaFX 8, b109, Windows 7 64-bit (with Java 32-bit)

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: