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

Google Groups | Ryan Gilera | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    create WritableImage object using snapshot methods without extending javafx.application.Application in JavaFX

    Stack Overflow | 1 month ago | Venkat Roo
    java.lang.IllegalStateException: Not on FX application thread; currentThread = main
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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
  5. 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

    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.snapshot
      1. javafx.scene.Node.snapshot(Node.java:1903)
      1 frame
    4. com.github.daytron
      UITest.generateMapThenSaveThenOpenTest
      1. com.github.daytron.flipit.map.creator.model.MapManager.saveFile(MapManager.java:86)
      2. com.github.daytron.flipit.map.creator.controller.ViewController.saveMap(ViewController.java:1046)
      3. com.github.daytron.flipit.map.creator.UITest.generateMapThenSaveThenOpenTest(UITest.java:506)
      3 frames