ClementGre / PDF4Teachers

PDF editing software in large quantities. Designed for teachers, this app keeps recorded previous annotations, and offers features like marking scale, PDF conversion, vectorial drawing...
https://pdf4teachers.org/
Apache License 2.0
136 stars 17 forks source link

PDF4Teachers not starting #90

Closed dgvincent closed 3 years ago

dgvincent commented 3 years ago

Describe the bug Application is not running on my mac with MacOs 13.1

Check the console Starting PDF4Teachers... Exception in Application start method java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at java.base/sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.HashMap (java.lang.String and java.util.HashMap are in module java.base of loader 'bootstrap') at fr.clementgre.pdf4teachers@1.2.1/fr.clementgre.pdf4teachers.datasaving.Config.load(Unknown Source) at fr.clementgre.pdf4teachers@1.2.1/fr.clementgre.pdf4teachers.datasaving.settings.Settings.loadSettings(Unknown Source) at fr.clementgre.pdf4teachers@1.2.1/fr.clementgre.pdf4teachers.datasaving.settings.Settings.(Unknown Source) at fr.clementgre.pdf4teachers@1.2.1/fr.clementgre.pdf4teachers.Main.start(Unknown Source) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) Exception running application fr.clementgre.pdf4teachers.Main logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

Desktop (please complete the following information):

ClementGre commented 3 years ago

Bonjour,

cette erreur est due à un problème de lecture du fichier paramètre de l'application. Vous pouvez le supprimer pour résoudre ce problème. Il se situe dans ~/.PDF4Teachers/settings.yml

Vous pouvez aussi m'envoyer le fichier en question pour que je puisse mieux identifier le problème. Je vais essayer de régler ce problème pour la prochaine version.

Merci, Clément G.

dgvincent commented 3 years ago

Le voici !

Le 24 mai 2021 à 18:21, Clément Grennerat @.***> a écrit :

Bonjour,

cette erreur est due à un problème de lecture du fichier paramètre de l'application. Vous pouvez le supprimer pour résoudre ce problème. Il se situe dans ~/.PDF4Teachers/settings.yml

Vous pouvez aussi m'envoyer le fichier en question pour que je puisse mieux identifier le problème. Je vais essayer de régler ce problème pour la prochaine version.

Merci, Clément G.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ClementGre/PDF4Teachers/issues/90#issuecomment-847159395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6GVZZG7RMIIJE7OH4MJ7TTPJ4HLANCNFSM45NPZLYQ.