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

Stack Overflow | Riven Lv 3 | 2 months ago
  1. 0

    Javafx modifying "Label" in SwingUtilities.invokeLater

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

    java swing timer: texts not updating

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

    change text label Javafx

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

    Automated exception search integrated into your IDE

  5. 0

    JavaFX : Not on FX application thread error occurs

    Stack Overflow | 12 months ago | James
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-5
  6. 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

    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:229)
      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. Unknown
      Lego$1$1.run
      1. Lego$1$1.run(Lego.java:63)
      1 frame
    12. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      14 frames