java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX Application Thread

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 eclipse.org by Unknown author, 1 year ago
Not on FX application thread; currentThread = JavaFX Application Thread
via eclipse.org by Unknown author, 1 year ago
Not on FX application thread; currentThread = JavaFX Application Thread
via fxexperience.com by Unknown author, 1 year ago
Not on FX application thread; currentThread = main
via Oracle Community by restenbro, 1 year ago
Not on FX application thread; currentThread = AWT-EventQueue-0
via GitHub by cbartzis
, 9 months ago
Not on FX application thread; currentThread = main
via Stack Overflow by BohdanN
, 2 years ago
Not on FX application thread; currentThread = Thread-4
java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX Application Thread
at com.sun.javafx.tk.Toolkit.checkFxUserThread(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(Unknown Source)
at javafx.scene.Scene.(Unknown Source)
at javafx.scene.Scene.(Unknown Source)
at org.eclipse.fx.ide.ui.preview.LivePreviewPart.createPartControl(LivePreviewPart.java:328)

Users with the same issue

17 times, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.