When KeY is launched without an existing .key directory, it creates this directory. Upon termination of the program KeY would write its settings in that directory. If KeY is not terminated through its provided methods, the settings are not written to a file.
When next launching KeY it finds the directory, but cannot load the settings. Thus it fails to start and crashes.
Reproducible
Is the issue reproducible?
always
Steps to reproduce
Describe the steps needed to reproduce the issue.
Ensure there is no .key directory
Launch KeY
Kill the process
Launch KeY again
What is your expected behavior and what was the actual behavior?
expected: KeY launches and loads standard settings
actual: KeY fails to launch
Additional information
Caused by: java.lang.NullPointerException: Cannot invoke "de.uka.ilkd.key.settings.Settings.addPropertyChangeListener(java.beans.PropertyChangeListener)" because "settings" is null
Description
Reproducible
Steps to reproduce
expected: KeY launches and loads standard settings actual: KeY fails to launch
Additional information
Caused by: java.lang.NullPointerException: Cannot invoke "de.uka.ilkd.key.settings.Settings.addPropertyChangeListener(java.beans.PropertyChangeListener)" because "settings" is null