jlarriba / astounding

A multiplatform GUI for the reMarkable tablet
Apache License 2.0
48 stars 3 forks source link

Exception in Application start method #8

Open Carlisle96 opened 3 years ago

Carlisle96 commented 3 years ago

I installed rmapi and astounding. When running astounding for the first time I get this error:

$ java -jar astounding.jar Exception in Application start method Exception in thread "main" java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: javafx.fxml.LoadException: file:/home/thyriaen/astounding.jar!/es/jlarriba/astounding/main.fxml

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2625)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2595)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2466)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2435)
at es.jlarriba.astounding.App.loadFXML(App.java:35)
at es.jlarriba.astounding.App.start(App.java:22)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
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:277)
... 1 more

Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:76) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:273) at com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:83) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2591) ... 13 more Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "es.jlarriba.astounding.Remarkable.getDocs()" is null at es.jlarriba.astounding.Remarkable.loadCollectionsByDirectory(Remarkable.java:69) at es.jlarriba.astounding.MainController.renderScreen(MainController.java:93) at es.jlarriba.astounding.MainController.initialize(MainController.java:36) ... 25 more

jseely commented 2 years ago

I get the same, unfortunately. If I have some time I might fork and see if I can't fix it.

voltumna commented 8 months ago

I get the same error, any news on this?