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)

JDK Bug System | Crystal Yang | 2 months ago
  1. 0

    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

    JDK Bug System | 2 months ago | 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)
  2. 0

    javafx not playing my sound [Archive] - Ubuntu Forums

    ubuntuforums.org | 11 months ago
    java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(P latformImpl.java:153) at com.sun.javafx.application.PlatformImpl.runLater(P latformImpl.java:148) at javafx.application.Platform.runLater(Platform.java :52) at javafx.scene.media.MediaPlayer.init(MediaPlayer.ja va:450)
  3. 0

    JavaFX Coding problems

    javaprogrammingforums.com | 11 months ago
    java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(U nknown Source) at com.sun.javafx.application.PlatformImpl.runLater(U nknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JavaFX Coding problems

    javaprogrammingforums.com | 11 months ago
    java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(U nknown Source) at com.sun.javafx.application.PlatformImpl.runLater(U nknown Source)
  6. 0

    JavaFX Coding problems

    javaprogrammingforums.com | 11 months ago
    java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(U nknown Source) at com.sun.javafx.application.PlatformImpl.runLater(U nknown Source)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.jemmy.fx
      QueueExecutor.executeQueue
      1. org.jemmy.fx.QueueExecutor.executeQueue(Unknown Source)
      1 frame
    3. org.jemmy.action
      AbstractExecutor.execute
      1. org.jemmy.action.AbstractExecutor.execute(AbstractExecutor.java:100)
      1 frame
    4. org.jemmy.fx
      SceneList.getControls
      1. org.jemmy.fx.SceneList.getControls(Unknown Source)
      1 frame
    5. org.jemmy.lookup
      AbstractLookup$1.reached
      1. org.jemmy.lookup.PlainLookup.getChildren(PlainLookup.java:76)
      2. org.jemmy.lookup.AbstractLookup.refresh(AbstractLookup.java:173)
      3. org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:142)
      4. org.jemmy.lookup.AbstractLookup$1.reached(AbstractLookup.java:138)
      4 frames
    6. org.jemmy.timing
      Waiter.ensureState
      1. org.jemmy.timing.Waiter.waitState(Waiter.java:78)
      2. org.jemmy.timing.Waiter.ensureState(Waiter.java:119)
      2 frames
    7. org.jemmy.lookup
      AbstractLookup.wrap
      1. org.jemmy.lookup.AbstractLookup.wait(AbstractLookup.java:138)
      2. org.jemmy.lookup.AbstractLookup.get(AbstractLookup.java:251)
      3. org.jemmy.lookup.AbstractLookup.wrap(AbstractLookup.java:211)
      3 frames
    8. org.jemmy.dock
      Dock.lookup
      1. org.jemmy.dock.Dock.lookup(Dock.java:90)
      1 frame
    9. org.jemmy.fx
      SceneDock.<init>
      1. org.jemmy.fx.SceneDock.<init>(Unknown Source)
      2. org.jemmy.fx.SceneDock.<init>(Unknown Source)
      3. org.jemmy.fx.SceneDock.<init>(Unknown Source)
      3 frames
    10. deploy.sqe.drivers
      UIDriver.run
      1. deploy.sqe.drivers.command.javafx.CheckWindowCommand.execute(CheckWindowCommand.java:102)
      2. deploy.sqe.drivers.UIDriver.run(UIDriver.java:214)
      2 frames