NullPointerException in PropertiesUserManager
---------------------------------------------
Key: FTPSERVER-145
URL: https://issues.apache.org/jira/browse/FTPSERVER-145
Project: FtpServer
Issue Type: Bug
Components: Core
Reporter: Olivier Lourdais
Priority: Trivial
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().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.