java.lang.IllegalStateException: Not on FX application thread; currentThread = main

Google Groups | Ryan Gilera | 2 years 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

    How do you test dialogs, file save and open on TestFX?

    Google Groups | 2 years ago | Ryan Gilera
    java.lang.IllegalStateException: Not on FX application thread; currentThread = main
  2. 0

    How can I use concurrency (threads) in JavaFX (with FXML!!! (JavaFX Scene Builder) )?

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

    new Thread, application still running after Stage-close

    Stack Overflow | 2 years ago
    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

    "Not on FX application thread" exception with Netty and JavaFX

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: Not on FX application thread; currentThread = nioEventLoopGroup-3-1
  6. 0

    Eclipse Community Forums: e(fx)clipse ยป FXCanvas not found during plugin export.

    eclipse.org | 1 year ago
    java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX Application Thread

    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 = main

      at com.sun.javafx.tk.Toolkit.checkFxUserThread()
    2. com.sun.javafx
      QuantumToolkit.checkFxUserThread
      1. com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:204)
      2. com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:364)
      2 frames
    3. javafx.scene
      Node$NodeTransformation$3.invalidated
      1. javafx.scene.Scene.addToDirtyList(Scene.java:485)
      2. javafx.scene.Node.addToSceneDirtyList(Node.java:424)
      3. javafx.scene.Node.impl_markDirty(Node.java:415)
      4. javafx.scene.Node.impl_transformsChanged(Node.java:4502)
      5. javafx.scene.Node$NodeTransformation$3.invalidated(Node.java:5605)
      5 frames
    4. javafx.beans.property
      DoublePropertyBase.set
      1. javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:112)
      2. javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:146)
      2 frames
    5. javafx.css
      StyleableDoubleProperty.set
      1. javafx.css.StyleableDoubleProperty.set(StyleableDoubleProperty.java:82)
      1 frame
    6. javafx.scene
      Node.setTranslateY
      1. javafx.scene.Node.setTranslateY(Node.java:5050)
      1 frame
    7. FXSampler
      BehaviorSkinBase.lambda$registerChangeListener$60
      1. com.sun.javafx.scene.control.skin.ScrollBarSkin.positionThumb(ScrollBarSkin.java:498)
      2. com.sun.javafx.scene.control.skin.ScrollBarSkin.handleControlPropertyChanged(ScrollBarSkin.java:380)
      3. com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$60(BehaviorSkinBase.java:197)
      3 frames