I tried to change the locale settings (language and date/time display), and since then ProjectLibre won't start; when I start it, it says this on stdout:
opts:
java.lang.NullPointerException
at com.projectlibre1.preference.ConfigurationFile.getDirectoryBundle(Unknown Source)
at com.projectlibre1.strings.Messages.getStringFromBundles(Unknown Source)
at com.projectlibre1.strings.Messages.getString(Unknown Source)
at com.projectlibre1.configuration.Settings.<clinit>(Unknown Source)
at com.projectlibre1.pm.graphic.frames.ApplicationStartupFactory.<init>(Unknown Source)
at com.projectlibre1.pm.graphic.gantt.Main.main(Unknown Source)
at com.projectlibre1.main.Main.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at java.awt.Window.init(Window.java:497)
at java.awt.Window.<init>(Window.java:537)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:233)
at org.pushingpixels.flamingo.api.ribbon.JRibbonFrame.<init>(Unknown Source)
at com.projectlibre1.pm.graphic.frames.MainRibbonFrame.<init>(Unknown Source)
at com.projectlibre1.pm.graphic.frames.MainFrameFactory.creareMainFrame(Unknown Source)
at com.projectlibre1.pm.graphic.gantt.Main.main(Unknown Source)
at com.projectlibre1.main.Main.main(Unknown Source)
2023-09-05 12:01:02.910 ProjectLibre[46544:5680861] ProjectLibre:Failed to launch JVM</init></init></init></init></init></init></clinit>
I am testing it also on macOS and cannot replicate. Is there a particular language you are changing to ? We have not heard of this but would want to replicate and fix. I am sure you can reinstall but that is not the best answer...
I changed the language to en (it was unset) and the locale to Netherlands.
I've tried reinstalling, including removing all files From my system with projectlibre in the name. I'm consistently getting this problem.
Last edit: friflaj 2023-09-05
Is there some file it is trying to read that is broken or missing? Can I clear out something that will make ProjectLibre start as if I just did a clean install?
If you launch like this, you will get Dutch:
java -Duser.language=nl -jar projectlibre.jar
I can't reproduce your startup error