Description
In the configure() method, userDataFile.getParentFile() can return null (eg. if file name is "toto.properties" rather than "./toto.properties"), which is not checked and can lead to a NullPointerException. A possible fix is to call userDataFile.getAbsoluteFile().getParentFile().