java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:396) at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:391) at javafx.application.Platform.runLater(javafx.graphics@9-ea/Platform.java:145)

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 JDK Bug System by Crystal Yang, 1 year ago
Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:396) at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:391) at javafx.application.Platform.runLater(javafx.graphics@9-ea/Platform.java:145)
java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:396) at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:391) at javafx.application.Platform.runLater(javafx.graphics@9-ea/Platform.java:145)
at org.jemmy.fx.QueueExecutor.executeQueue(Unknown Source)
at org.jemmy.action.AbstractExecutor.execute(AbstractExecutor.java:100)
at org.jemmy.fx.SceneList.getControls(Unknown Source)
at org.jemmy.lookup.PlainLookup.getChildren(PlainLookup.java:76)
at org.jemmy.lookup.AbstractLookup.refresh(AbstractLookup.java:173)
at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:142)
at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:138)
at org.jemmy.timing.Waiter.waitState(Waiter.java:78)
at org.jemmy.timing.Waiter.ensureState(Waiter.java:119)
at org.jemmy.lookup.AbstractLookup.wait(AbstractLookup.java:138)
at org.jemmy.lookup.AbstractLookup.get(AbstractLookup.java:251)
at org.jemmy.lookup.AbstractLookup.wrap(AbstractLookup.java:211)
at org.jemmy.dock.Dock.lookup(Dock.java:90)
at org.jemmy.fx.SceneDock.(Unknown Source)
at org.jemmy.fx.SceneDock.(Unknown Source)
at org.jemmy.fx.SceneDock.(Unknown Source)
at deploy.sqe.drivers.command.javafx.CheckWindowCommand.execute(CheckWindowCommand.java:102)
at deploy.sqe.drivers.UIDriver.run(UIDriver.java:214)

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.