java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-4

Stack Overflow | Torben | 3 months ago
  1. 0

    JavaFX: Service and GUI

    Stack Overflow | 3 months ago | Torben
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-4
  2. 0

    Update a Label in a thread with javafx

    Stack Overflow | 11 months ago | David
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-4
  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

    I can't setText to label in javafx

    Stack Overflow | 9 months ago | A. Ilyes
    java.lang.IllegalStateException: Not on FX application thread; currentThread = EventThread COM13
  6. 0

    Exception when comparing a String to a String but not when comparing it to another String

    Stack Overflow | 7 months ago | user6287736
    java.lang.IllegalStateException: Not on FX application thread; currentThread = FirebaseEventTarget

    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 = Thread-4

      at com.sun.javafx.tk.Toolkit.checkFxUserThread()
    2. com.sun.javafx
      QuantumToolkit.checkFxUserThread
      1. com.sun.javafx.tk.Toolkit.checkFxUserThread(Unknown Source)
      2. com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(Unknown Source)
      2 frames
    3. javafx.scene
      Parent$2.onProposedChange
      1. javafx.scene.Parent$2.onProposedChange(Unknown Source)
      1 frame
    4. com.sun.javafx
      VetoableListDecorator.setAll
      1. com.sun.javafx.collections.VetoableListDecorator.setAll(Unknown Source)
      2. com.sun.javafx.collections.VetoableListDecorator.setAll(Unknown Source)
      2 frames
    5. FXSampler
      BehaviorSkinBase.lambda$registerChangeListener$61
      1. com.sun.javafx.scene.control.skin.LabeledSkinBase.updateChildren(Unknown Source)
      2. com.sun.javafx.scene.control.skin.LabeledSkinBase.handleControlPropertyChanged(Unknown Source)
      3. com.sun.javafx.scene.control.skin.LabelSkin.handleControlPropertyChanged(Unknown Source)
      4. com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(Unknown Source)
      4 frames
    6. com.sun.javafx
      MultiplePropertyChangeListenerHandler$1.changed
      1. com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(Unknown Source)
      1 frame
    7. javafx.beans.value
      WeakChangeListener.changed
      1. javafx.beans.value.WeakChangeListener.changed(Unknown Source)
      1 frame
    8. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
      2 frames
    9. javafx.beans.property
      StringProperty.setValue
      1. javafx.beans.property.StringPropertyBase.fireValueChangedEvent(Unknown Source)
      2. javafx.beans.property.StringPropertyBase.markInvalid(Unknown Source)
      3. javafx.beans.property.StringPropertyBase.set(Unknown Source)
      4. javafx.beans.property.StringPropertyBase.set(Unknown Source)
      5. javafx.beans.property.StringProperty.setValue(Unknown Source)
      5 frames
    10. FXSampler
      Labeled.setText
      1. javafx.scene.control.Labeled.setText(Unknown Source)
      1 frame
    11. application
      Controller$1$1.call
      1. application.Controller$1$1.call(Controller.java:290)
      2. application.Controller$1$1.call(Controller.java:1)
      2 frames
    12. javafx.concurrent
      Task$TaskCallable.call
      1. javafx.concurrent.Task$TaskCallable.call(Unknown Source)
      1 frame
    13. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      1 frame
    14. javafx.concurrent
      Service.lambda$null$493
      1. javafx.concurrent.Service.lambda$null$493(Unknown Source)
      1 frame
    15. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    16. javafx.concurrent
      Service.lambda$executeTask$494
      1. javafx.concurrent.Service.lambda$executeTask$494(Unknown Source)
      1 frame
    17. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames