directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-846) NPE if launching ADS without any parameter
Date Thu, 08 Feb 2007 13:48:05 GMT

     [ 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.


Mime
View raw message