You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/02/08 14:42:05 UTC
[jira] Created: (DIRSERVER-846) NPE if launching ADS without any
parameter
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.0, 1.5.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.
[jira] Closed: (DIRSERVER-846) NPE if launching ADS without any
parameter
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-846.
---------------------------------------
> 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.
[jira] Resolved: (DIRSERVER-846) NPE if launching ADS without any
parameter
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ 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.