[
https://issues.apache.org/jira/browse/FTPSERVER-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Gustavsson updated FTPSERVER-145:
----------------------------------------
Affects Version/s: 1.0-M2
> NullPointerException in PropertiesUserManager
> ---------------------------------------------
>
> Key: FTPSERVER-145
> URL: https://issues.apache.org/jira/browse/FTPSERVER-145
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0-M2
> Reporter: Olivier Lourdais
> Assignee: Niklas Gustavsson
> Priority: Trivial
> Fix For: 1.0-M3
>
>
> 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.