Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Randahl Isaksen, 1 year ago
Not on FX application thread; currentThread = JavaFX Application Thread
via Stack Overflow by youssef
, 1 year ago
Not on FX application thread; currentThread = JavaFX Application Thread
via GitHub by Philipp91
, 2 years ago
Not on FX application thread; currentThread = main
via Stack Overflow by namlik
, 2 years ago
Not on FX application thread; currentThread = Thread-4
via Stack Overflow by Unknown author, 2 years ago
Not on FX application thread; currentThread = nioEventLoopGroup-3-1
via Google Groups by Ryan Gilera, 1 year ago
Not on FX application thread; currentThread = main
java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX Application Thread	at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:236)	at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:423)	at javafx.stage.Window.setShowing(Window.java:926)	at javafx.stage.Window.hide(Window.java:952)	at com.sun.javafx.stage.WindowPeerListener.closed(WindowPeerListener.java:100)	at com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:118)	at com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:40)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.javafx.tk.quantum.GlassWindowEventHandler.lambda$handleWindowEvent$408(GlassWindowEventHandler.java:150)	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)	at com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:148)	at com.sun.glass.ui.Window.handleWindowEvent(Window.java:1266)	at com.sun.glass.ui.Window.notifyDestroy(Window.java:1183)	at com.sun.glass.ui.mac.MacApplication._enterNestedEventLoopImpl(Native Method)	at com.sun.glass.ui.mac.MacApplication._enterNestedEventLoop(MacApplication.java:109)	at com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:511)	at com.sun.glass.ui.mac.MacView._enterFullscreen(Native Method)	at com.sun.glass.ui.View.enterFullscreen(View.java:784)	at com.sun.javafx.tk.quantum.WindowStage.applyFullScreen(WindowStage.java:637)	at com.sun.javafx.tk.quantum.WindowStage.setFullScreen(WindowStage.java:727)	at javafx.stage.Stage.setFullScreen(Stage.java:667)	at com.jfxbe.PlayingVideo.lambda$null$2(PlayingVideo.java:111)	at com.sun.javafx.application.PlatformImpl.lambda$null$158(PlatformImpl.java:315)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.javafx.application.PlatformImpl.lambda$runLater$159(PlatformImpl.java:314)	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)