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

Stack Overflow | pen1993 | 7 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

    How to change label text of .fxml file from another java class(means out side the controller)?

    Stack Overflow | 7 months ago | pen1993
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-4

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not on FX application thread; currentThread = Thread-4

      at inf_main_code.DisplayPlazaNameLocation.getPlazaNameLocation()
    2. inf_main_code
      DisplayPlazaNameLocation.run
      1. inf_main_code.DisplayPlazaNameLocation.getPlazaNameLocation(DisplayPlazaNameLocation.java:57)
      2. inf_main_code.DisplayPlazaNameLocation.inRun(DisplayPlazaNameLocation.java:36)
      3. inf_main_code.DisplayPlazaNameLocation.run(DisplayPlazaNameLocation.java:29)
      3 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame