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

        

Reply via email to