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 Stack Overflow by Riven Lv 3
, 1 year ago
Not on FX application thread; currentThread = AWT-EventQueue-0
via Stack Overflow by David
, 2 years ago
Not on FX application thread; currentThread = Thread-4
via Stack Overflow by Dine Coray
, 2 years ago
Not on FX application thread; currentThread = Thread-4
via Stack Overflow by freakguy
, 2 months ago
Not on FX application thread; currentThread = Thread-3
via Stack Overflow by A. Ilyes
, 2 years ago
Not on FX application thread; currentThread = EventThread COM13
via Stack Overflow by David Boydston
, 1 year ago
Not on FX application thread; currentThread = Thread-4 @SerialEvent.IF Failed to read data. (java.lang.NumberFormatException: empty String)
java.lang.IllegalStateException: Not on FX application thread; currentThread = AWT-EventQueue-0	at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:229)	at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:423)	at javafx.scene.Parent$2.onProposedChange(Parent.java:367)	at com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:113)	at com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:108)	at com.sun.javafx.scene.control.skin.LabeledSkinBase.updateChildren(LabeledSkinBase.java:575)	at com.sun.javafx.scene.control.skin.LabeledSkinBase.handleControlPropertyChanged(LabeledSkinBase.java:204)	at com.sun.javafx.scene.control.skin.LabelSkin.handleControlPropertyChanged(LabelSkin.java:49)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(BehaviorSkinBase.java:197)	at com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)	at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)	at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)	at javafx.beans.property.StringPropertyBase.fireValueChangedEvent(StringPropertyBase.java:103)	at javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:110)	at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:144)	at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:49)	at javafx.beans.property.StringProperty.setValue(StringProperty.java:65)	at javafx.scene.control.Labeled.setText(Labeled.java:145)	at Lego$1$1.run(Lego.java:63)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)	at java.awt.EventQueue.access$500(EventQueue.java:97)	at java.awt.EventQueue$3.run(EventQueue.java:709)	at java.awt.EventQueue$3.run(EventQueue.java:703)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)