java.lang.IllegalStateException: Not on FX application thread; currentThread = Executor(Continuous-Checking): Thread(0)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mbway
, 1 year ago
Not on FX application thread; currentThread = Executor(Continuous-Checking): Thread(0)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.