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

NullPointerException after windows shows screensaver (program is frozen)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • javafx
    • None
    • NetBeans 7.0, JavaFX from 26.06.2011, Windows XP

      I do a little example for clipping in combination with timeline (animation). When the program runs and windows shows the screensaver and I switch return to the program the program is frozen and a NullPointerException is thrown:
      java.lang.NullPointerException
      at com.sun.prism.d3d.D3DSwapChain.present(D3DSwapChain.java:42)
      at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:241)
      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.render.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 com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
      at java.lang.Thread.run(Thread.java:662)

      Repeat the issue:
      - Change the time to show the screensaver in Windows to 1 or 2 min.
      - Start the program.
      - Wait until the screesaver is shown.
      - Move the mouse to remove the screensaver.
      - Notice the frozen program and the NullPointerException in the IDE.

            jandrese Joe Andresen (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: