Crash when adding Mojang account or Offline account
Issue occurs in master (0ad64f99)
When adding Mojang account:
----- Minosoft Crash Report -----
// Please don't kill me for this
Time: 2021-08-22 11:53:43 (1629658423)
Crash thread: JavaFX Application Thread
javafx.fxml.LoadException:
unknown path
at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2707)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2685)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2532)
at de.bixilon.minosoft.gui.eros.util.JavaFXUtil.openModal(JavaFXUtil.kt:46)
at de.bixilon.minosoft.gui.eros.main.account.add.MojangAddController.show$lambda-0(MojangAddController.kt:57)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:290)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property stage has not been initialized
at de.bixilon.minosoft.gui.eros.controller.JavaFXWindowController.getStage(JavaFXWindowController.kt:19)
at de.bixilon.minosoft.gui.eros.main.account.add.MojangAddController.init(MojangAddController.kt:84)
at de.bixilon.minosoft.gui.eros.controller.JavaFXController.initialize(JavaFXController.kt:36)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2655)
... 10 more
-- Runtime Details --
Start arguments: []
JVM flags: [--enable-preview]
Home directory: /home/xian/.local/share/minosoft/
Disable Eros: false
Disable rendering: false
-- System Details --
Operating system: Linux: Arch Linux 64bit
Detected operating system: LINUX
Java version: Java: 16.0.2+7 64bit
Memory: 15GiB
CPU: 8x Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
-- Git Info --
Uninitialized :(
TODO: Add more data
Crash checksum (SHA-1): 46806ee79f83915bb162a50018069a0f33cb399e
When adding Offline account:
----- Minosoft Crash Report -----
// That happens when you develop while playing games!
Time: 2021-08-22 11:55:38 (1629658538)
Crash thread: JavaFX Application Thread
javafx.fxml.LoadException:
unknown path
at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2707)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2685)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2532)
at de.bixilon.minosoft.gui.eros.util.JavaFXUtil.openModal(JavaFXUtil.kt:46)
at de.bixilon.minosoft.gui.eros.main.account.add.OfflineAddController.show$lambda-0(OfflineAddController.kt:50)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:290)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property stage has not been initialized
at de.bixilon.minosoft.gui.eros.controller.JavaFXWindowController.getStage(JavaFXWindowController.kt:19)
at de.bixilon.minosoft.gui.eros.main.account.add.OfflineAddController.init(OfflineAddController.kt:69)
at de.bixilon.minosoft.gui.eros.controller.JavaFXController.initialize(JavaFXController.kt:36)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2655)
... 10 more
-- Runtime Details --
Start arguments: []
JVM flags: [--enable-preview]
Home directory: /home/xian/.local/share/minosoft/
Disable Eros: false
Disable rendering: false
-- System Details --
Operating system: Linux: Arch Linux 64bit
Detected operating system: LINUX
Java version: Java: 16.0.2+7 64bit
Memory: 15GiB
CPU: 8x Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
-- Git Info --
Uninitialized :(
TODO: Add more data
Crash checksum (SHA-1): c5dce5ccd752747f3bc0a891d23ececbcee53aca