I use ScenicView in agent mode to debug Scala-based app in SBT build tool. From time to time when application launches I get:
Exception in thread "scenic-view-boot" java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273) at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268) at javafx.application.Platform.runLater(Platform.java:83) at org.scenicview.ScenicView.lambda$premain$34(ScenicView.java:122) at java.lang.Thread.run(Thread.java:745)
It seems that ScenicView doesn't wait FX runtime is initialized or do it in some erroneous way.
I'm not only one affected by that issue, see stackoverflow.