java.lang.IllegalStateException: Toolkit not initialized

Google Groups | Tommy Yeh | 8 months ago
  1. 0

    TestFx in headless mode with openjfx-monocle-1.8.0_20.jar

    Google Groups | 8 months ago | Tommy Yeh
    java.lang.IllegalStateException: Toolkit not initialized
  2. 0

    Scene Builder | Rob's Blog

    wordpress.com | 7 months ago
    java.lang.IllegalStateException: Toolkit not initialized
  3. 0

    Netbeans | Rob's Blog

    wordpress.com | 1 year ago
    java.lang.IllegalStateException: Toolkit not initialized
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Desktop | Rob's Blog

    wordpress.com | 1 year ago
    java.lang.IllegalStateException: Toolkit not initialized
  6. 0

    JavaFX Toolkit Not Initialized (Solved) | Rob's Blog

    wordpress.com | 6 months ago
    java.lang.IllegalStateException: Toolkit not initialized

    5 unregistered visitors
    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()
    2. com.sun.javafx
      PlatformImpl.runLater
      1. com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273)
      2. com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268)
      2 frames
    3. javafx.application
      Platform.runLater
      1. javafx.application.Platform.runLater(Platform.java:83)
      1 frame
    4. org.testfx.util
      WaitForAsyncUtils.asyncFx
      1. org.testfx.util.WaitForAsyncUtils.runOnFxThread(WaitForAsyncUtils.java:356)
      2. org.testfx.util.WaitForAsyncUtils.asyncFx(WaitForAsyncUtils.java:115)
      2 frames
    5. org.testfx.toolkit
      ToolkitServiceImpl.cleanupApplication
      1. org.testfx.toolkit.impl.ApplicationServiceImpl.stop(ApplicationServiceImpl.java:70)
      2. org.testfx.toolkit.impl.ToolkitServiceImpl.cleanupApplication(ToolkitServiceImpl.java:151)
      2 frames
    6. org.testfx.api
      FxToolkit.cleanupApplication
      1. org.testfx.api.FxToolkit.cleanupApplication(FxToolkit.java:187)
      1 frame
    7. org.testfx.framework
      ApplicationTest.internalAfter
      1. org.testfx.framework.junit.ApplicationTest.internalAfter(ApplicationTest.java:61)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. JUnit
      RunAfters.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
      4 frames
    10. Spring TestContext
      SpringRepeat.evaluate
      1. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
      2. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
      2 frames
    11. JUnit
      ParentRunner.runLeaf
      1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      1 frame
    12. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
      2. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
      2 frames
    13. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    14. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
      2 frames
    15. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      1 frame
    16. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
      1 frame
    17. JUnit
      JUnitCore.run
      1. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      2 frames
    18. org.junit.vintage
      RunnerExecutor.execute
      1. org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
      1 frame
    19. Java RT
      ReferencePipeline.forEach
      1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      2. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      3. java.util.Iterator.forEachRemaining(Iterator.java:116)
      4. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      5. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      6. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      7. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      8. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      9. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      10. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      10 frames
    20. org.junit.vintage
      VintageTestEngine.execute
      1. org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:66)
      2. org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:57)
      2 frames
    21. org.junit.platform
      DefaultLauncher.execute
      1. org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:124)
      2. org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:84)
      2 frames
    22. com.intellij.junit5
      JUnit5IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:42)
      1 frame
    23. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
      2 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    25. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame