You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/04/11 01:46:41 UTC

[jira] Created: (DAEMON-159) Procrun calls methods with a null String array if no parameters are provided

Procrun calls methods with a null String array if no parameters are provided
----------------------------------------------------------------------------

                 Key: DAEMON-159
                 URL: https://issues.apache.org/jira/browse/DAEMON-159
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.0.2
            Reporter: Sebb


The procrun service calls methods with a null String array if no parameters are provided.

This is contrary to the way Java normally behaves, at least for the main() method.

The behaviour should either be clearly documented or (better) fixed.

The same may apply to the jsrv application

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DAEMON-159) Procrun calls methods with a null String array if no parameters are provided

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated DAEMON-159:
------------------------

    Fix Version/s: 1.0.3
                       (was: 1.0.2)

> Procrun calls methods with a null String array if no parameters are provided
> ----------------------------------------------------------------------------
>
>                 Key: DAEMON-159
>                 URL: https://issues.apache.org/jira/browse/DAEMON-159
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.2
>            Reporter: Sebb
>             Fix For: 1.0.3
>
>
> The procrun service calls methods with a null String array if no parameters are provided.
> This is contrary to the way Java normally behaves, at least for the main() method.
> The behaviour should either be clearly documented or (better) fixed.
> The same may apply to the jsrv application

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DAEMON-159) Procrun calls methods with a null String array if no parameters are provided

Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-159.
--------------------------------

    Fix Version/s: 1.0.2
       Resolution: Fixed

Fixed in the trunk by always creating the String[].
In case there is no arguments the array will have zero size length

> Procrun calls methods with a null String array if no parameters are provided
> ----------------------------------------------------------------------------
>
>                 Key: DAEMON-159
>                 URL: https://issues.apache.org/jira/browse/DAEMON-159
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.2
>            Reporter: Sebb
>             Fix For: 1.0.2
>
>
> The procrun service calls methods with a null String array if no parameters are provided.
> This is contrary to the way Java normally behaves, at least for the main() method.
> The behaviour should either be clearly documented or (better) fixed.
> The same may apply to the jsrv application

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.