You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "June Fang (JIRA)" <xm...@ws.apache.org> on 2006/09/20 11:23:23 UTC
[jira] Created: (XMLRPC-115) XML-RPC *expects* the tag
XML-RPC *expects* the <params> tag
----------------------------------
Key: XMLRPC-115
URL: http://issues.apache.org/jira/browse/XMLRPC-115
Project: XML-RPC
Issue Type: Bug
Components: Releases
Affects Versions: 3.0
Environment: window 2003 standard server, with xmlrpc++ client(version 0.7)
Reporter: June Fang
If the method has no arguments, some client implementation may not send the <params> tag.
in this situation, apache xml-rpc server will cause a NullPointerException.
i try to trace the function call and it seems that xml-rpc uses the <params> tag as a clue to lazy
initailize the ArrayList that containing method call parameters, so if no <params> tag, the list
will never be created, and result in a NPE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (XMLRPC-115) XML-RPC *expects* the tag
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/XMLRPC-115?page=all ]
Jochen Wiedmann resolved XMLRPC-115.
------------------------------------
Fix Version/s: 3.1
Resolution: Fixed
Fixed in trunk and 3.0 branch.
> XML-RPC *expects* the <params> tag
> ----------------------------------
>
> Key: XMLRPC-115
> URL: http://issues.apache.org/jira/browse/XMLRPC-115
> Project: XML-RPC
> Issue Type: Bug
> Components: Releases
> Affects Versions: 3.0
> Environment: window 2003 standard server, with xmlrpc++ client(version 0.7)
> Reporter: June Fang
> Fix For: 3.1
>
>
> If the method has no arguments, some client implementation may not send the <params> tag.
> in this situation, apache xml-rpc server will cause a NullPointerException.
> i try to trace the function call and it seems that xml-rpc uses the <params> tag as a clue to lazy
> initailize the ArrayList that containing method call parameters, so if no <params> tag, the list
> will never be created, and result in a NPE.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira