Advertisement
Guest User

Untitled

a guest
Feb 5th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.40 KB | None | 0 0
  1. Exception in Application init method
  2. java.lang.reflect.InvocationTargetException
  3.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  5.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  6.     at java.base/java.lang.reflect.Method.invoke(Method.java:567)
  7.     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
  8.     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
  9.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  10.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  11.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  12.     at java.base/java.lang.reflect.Method.invoke(Method.java:567)
  13.     at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
  14. Caused by: java.lang.RuntimeException: Exception in Application init method
  15.     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:895)
  16.     at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
  17.     at java.base/java.lang.Thread.run(Thread.java:830)
  18. Caused by: java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX-Launcher
  19.     at javafx.graphics/com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:291)
  20.     at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:446)
  21.     at javafx.graphics/javafx.stage.Stage.<init>(Stage.java:254)
  22.     at javafx.graphics/javafx.stage.Stage.<init>(Stage.java:240)
  23.     at javafx.controls/javafx.scene.control.HeavyweightDialog$1.<init>(HeavyweightDialog.java:52)
  24.     at javafx.controls/javafx.scene.control.HeavyweightDialog.<init>(HeavyweightDialog.java:52)
  25.     at javafx.controls/javafx.scene.control.Dialog.<init>(Dialog.java:268)
  26.     at javafx.controls/javafx.scene.control.Alert.<init>(Alert.java:247)
  27.     at javafx.controls/javafx.scene.control.Alert.<init>(Alert.java:222)
  28.     at src/gui.Test.init(Test.java:18)
  29.     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:824)
  30.     ... 2 more
  31. Exception running application gui.Test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement