Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exception in Application init method
- java.lang.reflect.InvocationTargetException
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:567)
- at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
- at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:567)
- at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
- Caused by: java.lang.RuntimeException: Exception in Application init method
- at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:895)
- at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
- at java.base/java.lang.Thread.run(Thread.java:830)
- Caused by: java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX-Launcher
- at javafx.graphics/com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:291)
- at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:446)
- at javafx.graphics/javafx.stage.Stage.<init>(Stage.java:254)
- at javafx.graphics/javafx.stage.Stage.<init>(Stage.java:240)
- at javafx.controls/javafx.scene.control.HeavyweightDialog$1.<init>(HeavyweightDialog.java:52)
- at javafx.controls/javafx.scene.control.HeavyweightDialog.<init>(HeavyweightDialog.java:52)
- at javafx.controls/javafx.scene.control.Dialog.<init>(Dialog.java:268)
- at javafx.controls/javafx.scene.control.Alert.<init>(Alert.java:247)
- at javafx.controls/javafx.scene.control.Alert.<init>(Alert.java:222)
- at src/gui.Test.init(Test.java:18)
- at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:824)
- ... 2 more
- Exception running application gui.Test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement