java.lang.IllegalStateException: Not on FX application thread; currentThread = AWT-EventQueue-0

Stack Overflow | Selim Makhoul | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java swing timer: texts not updating

    Stack Overflow | 5 months ago | Selim Makhoul
    java.lang.IllegalStateException: Not on FX application thread; currentThread = AWT-EventQueue-0
  2. 0

    Javafx modifying "Label" in SwingUtilities.invokeLater

    Stack Overflow | 4 months ago | Riven Lv 3
    java.lang.IllegalStateException: Not on FX application thread; currentThread = AWT-EventQueue-0
  3. 0

    JavaFX : Not on FX application thread error occurs

    Stack Overflow | 1 year ago | James
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm getting errors when I try to acess my webcam's frame rate

    GitHub | 1 year ago | PaulaRudy
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-5
  6. 0

    JavaFX : Not on FX application thread error occurs - BlogoSfera

    co.uk | 1 year ago
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-5

    14 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not on FX application thread; currentThread = AWT-EventQueue-0

      at com.sun.javafx.tk.Toolkit.checkFxUserThread()
    2. com.sun.javafx
      QuantumToolkit.checkFxUserThread
      1. com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:236)
      2. com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:423)
      2 frames
    3. javafx.scene
      Parent$2.onProposedChange
      1. javafx.scene.Parent$2.onProposedChange(Parent.java:367)
      1 frame
    4. com.sun.javafx
      VetoableListDecorator.setAll
      1. com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:113)
      2. com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:108)
      2 frames
    5. FXSampler
      BehaviorSkinBase.lambda$registerChangeListener$61
      1. com.sun.javafx.scene.control.skin.LabeledSkinBase.updateChildren(LabeledSkinBase.java:575)
      2. com.sun.javafx.scene.control.skin.LabeledSkinBase.handleControlPropertyChanged(LabeledSkinBase.java:204)
      3. com.sun.javafx.scene.control.skin.LabelSkin.handleControlPropertyChanged(LabelSkin.java:49)
      4. com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(BehaviorSkinBase.java:197)
      4 frames
    6. com.sun.javafx
      MultiplePropertyChangeListenerHandler$1.changed
      1. com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)
      1 frame
    7. javafx.beans.value
      WeakChangeListener.changed
      1. javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)
      1 frame
    8. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      2 frames
    9. javafx.beans.property
      StringProperty.setValue
      1. javafx.beans.property.StringPropertyBase.fireValueChangedEvent(StringPropertyBase.java:103)
      2. javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:110)
      3. javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:144)
      4. javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:49)
      5. javafx.beans.property.StringProperty.setValue(StringProperty.java:65)
      5 frames
    10. FXSampler
      Labeled.setText
      1. javafx.scene.control.Labeled.setText(Labeled.java:145)
      1 frame
    11. Application
      MainController$1.actionPerformed
      1. Application.MainController$1.actionPerformed(MainController.java:46)
      1 frame
    12. Java RT
      EventDispatchThread.run
      1. javax.swing.Timer.fireActionPerformed(Unknown Source)
      2. javax.swing.Timer$DoPostEvent.run(Unknown Source)
      3. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      4. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      5. java.awt.EventQueue.access$500(Unknown Source)
      6. java.awt.EventQueue$3.run(Unknown Source)
      7. java.awt.EventQueue$3.run(Unknown Source)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      10. java.awt.EventQueue.dispatchEvent(Unknown Source)
      11. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      12. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      13. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      14. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      15. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      16. java.awt.EventDispatchThread.run(Unknown Source)
      16 frames