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

IllegalStateException using JFXPanel in a netbeans window.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Incomplete
    • Affects Version/s: 7u15
    • Fix Version/s: tbd
    • Component/s: javafx
    • Environment:

      Netbeans Platform RELEASE73; java version "1.7.0_17"
      Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

      Description

      Docking and undocking a Netbeans Platform window, with an embedded JFXPanel results in the below exception. All of the lines in the stack trace indicate oracle code, not sure what I can do different to prevent the error.

      Exception in runnable
      java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX Application Thread
      at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:237)
      at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:397)
      at javafx.stage.Window.setShowing(Window.java:780)
      at javafx.stage.Window.show(Window.java:796)
      at com.sun.javafx.stage.EmbeddedWindow.show(EmbeddedWindow.java:57)
      at javafx.embed.swing.JFXPanel$7.run(JFXPanel.java:678)
      at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
      at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                kcampbelljfx Keith Campbell (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: