java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • exception running fibonacci code
    via GitHub by mbway
    ,
    • java.lang.IllegalStateException: Not on FX application thread; currentThread = Executor(Continuous-Checking): Thread(0) at simulizer.utils.UIUtils.assertFXThread(UIUtils.java:51) at simulizer.utils.SafeJSObject.call(SafeJSObject.java:35) at simulizer.ui.windows.Editor.loadCurrentFile(Editor.java:374) at simulizer.ui.components.CurrentFile.tryGetEditor(CurrentFile.java:106) at simulizer.ui.components.CurrentFile.loadFileWithoutPrompt(CurrentFile.java:281) at simulizer.ui.components.CurrentFile.getCurrentText(CurrentFile.java:131) at simulizer.ui.components.CurrentFile.lambda$startContinuousChecking$6(CurrentFile.java:337) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.