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.

  • About 100+ cases in javafx failed on Ubuntu due to the following error when handing security warning dialog: ERROR>java.lang.IllegalStateException: Toolkit not initialized ERROR> at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:396) ERROR> at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:391) ERROR> at javafx.application.Platform.runLater(javafx.graphics@9-ea/Platform.java:145) ERROR> at org.jemmy.fx.QueueExecutor.executeQueue(Unknown Source) ERROR> at org.jemmy.action.AbstractExecutor.execute(AbstractExecutor.java:100) ERROR> at org.jemmy.fx.SceneList.getControls(Unknown Source) ERROR> at org.jemmy.lookup.PlainLookup.getChildren(PlainLookup.java:76) ERROR> at org.jemmy.lookup.AbstractLookup.refresh(AbstractLookup.java:173) ERROR> at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:142) ERROR> at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:138) ERROR> at org.jemmy.timing.Waiter.waitState(Waiter.java:78) ERROR> at org.jemmy.timing.Waiter.ensureState(Waiter.java:119) ERROR> at org.jemmy.lookup.AbstractLookup.wait(AbstractLookup.java:138) ERROR> at org.jemmy.lookup.AbstractLookup.get(AbstractLookup.java:251) ERROR> at org.jemmy.lookup.AbstractLookup.wrap(AbstractLookup.java:211) ERROR> at org.jemmy.dock.Dock.lookup(Dock.java:90) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at deploy.sqe.drivers.command.javafx.CheckWindowCommand.execute(CheckWindowCommand.java:102) ERROR> at deploy.sqe.drivers.UIDriver.run(UIDriver.java:214) ERROR> at java.lang.Thread.run(java.base@9-ea/Thread.java:843) ERROR>java.lang.IllegalStateException: Toolkit not initialized ERROR> at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:396) ERROR> at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:391) ERROR> at javafx.application.Platform.runLater(javafx.graphics@9-ea/Platform.java:145) ERROR> at org.jemmy.fx.QueueExecutor.executeQueue(Unknown Source) ERROR> at org.jemmy.action.AbstractExecutor.execute(AbstractExecutor.java:100) ERROR> at org.jemmy.fx.SceneList.getControls(Unknown Source) ERROR> at org.jemmy.lookup.PlainLookup.getChildren(PlainLookup.java:76) ERROR> at org.jemmy.lookup.AbstractLookup.refresh(AbstractLookup.java:173) ERROR> at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:142) ERROR> at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:138) ERROR> at org.jemmy.timing.Waiter.waitState(Waiter.java:78) ERROR> at org.jemmy.timing.Waiter.ensureState(Waiter.java:119) ERROR> at org.jemmy.lookup.AbstractLookup.wait(AbstractLookup.java:138) ERROR> at org.jemmy.lookup.AbstractLookup.get(AbstractLookup.java:251) ERROR> at org.jemmy.lookup.AbstractLookup.wrap(AbstractLookup.java:211) ERROR> at org.jemmy.dock.Dock.lookup(Dock.java:90) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at deploy.sqe.drivers.command.javafx.CheckWindowCommand.execute(CheckWindowCommand.java:102) ERROR> at deploy.sqe.drivers.UIDriver.run(UIDriver.java:214) ERROR> at java.lang.Thread.run(java.base@9-ea/Thread.java:843) ERROR>java.lang.IllegalStateException: Toolkit not initialized ERROR> at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:396) ERROR> at com.sun.javafx.application.PlatformImpl.runLater(javafx.graphics@9-ea/PlatformImpl.java:391) ERROR> at javafx.application.Platform.runLater(javafx.graphics@9-ea/Platform.java:145) ERROR> at org.jemmy.fx.QueueExecutor.executeQueue(Unknown Source) ERROR> at org.jemmy.action.AbstractExecutor.execute(AbstractExecutor.java:100) ERROR> at org.jemmy.fx.SceneList.getControls(Unknown Source) ERROR> at org.jemmy.lookup.PlainLookup.getChildren(PlainLookup.java:76) ERROR> at org.jemmy.lookup.AbstractLookup.refresh(AbstractLookup.java:173) ERROR> at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:142) ERROR> at org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:138) ERROR> at org.jemmy.timing.Waiter.waitState(Waiter.java:78) ERROR> at org.jemmy.timing.Waiter.ensureState(Waiter.java:119) ERROR> at org.jemmy.lookup.AbstractLookup.wait(AbstractLookup.java:138) ERROR> at org.jemmy.lookup.AbstractLookup.get(AbstractLookup.java:251) ERROR> at org.jemmy.lookup.AbstractLookup.wrap(AbstractLookup.java:211) ERROR> at org.jemmy.dock.Dock.lookup(Dock.java:90) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at org.jemmy.fx.SceneDock.<init>(Unknown Source) ERROR> at deploy.sqe.drivers.command.javafx.CheckWindowCommand.execute(CheckWindowCommand.java:102) ERROR> at deploy.sqe.drivers.UIDriver.run(UIDriver.java:214) ERROR> at java.lang.Thread.run(java.base@9-ea/Thread.java:843) See http://spbeg04.ru.oracle.com:9502/runs/01602/1602475.ManualSubmit/1602475.ManualSubmit-1/html/javafx/LSPFXAuto/LSPFXAutoJNLPTest_testLSPResourceRunNeg_JNLP_High_out.txt
    via by Crystal Yang,
    • 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.<init>(Unknown Source) at org.jemmy.fx.SceneDock.<init>(Unknown Source) at org.jemmy.fx.SceneDock.<init>(Unknown Source) at deploy.sqe.drivers.command.javafx.CheckWindowCommand.execute(CheckWindowCommand.java:102) at deploy.sqe.drivers.UIDriver.run(UIDriver.java:214)
    No Bugmate found.