[
https://issues.apache.org/jira/browse/DIRSERVER-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-846.
-----------------------------------------
Resolution: Fixed
In fact, the problem was not in main, but in init. If the args was empty, the
main method calls the init method with null values.
Fixed in 1.0.1 :
http://svn.apache.org/viewvc?view=rev&rev=504891
> NPE if launching ADS without any parameter
> ------------------------------------------
>
> Key: DIRSERVER-846
> URL: https://issues.apache.org/jira/browse/DIRSERVER-846
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.0, 1.0
> Reporter: Emmanuel Lecharny
> Assigned To: Emmanuel Lecharny
> Fix For: 1.0.1, 1.5.0
>
>
> If we try to launch the server without argument, we get a NPE.
> There is no check for a null argument in the main method, only test against
> zero length argument list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.