Issue Details (XML | Word | Printable)

Key: XMLRPC-115
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: June Fang
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XML-RPC

XML-RPC *expects* the <params> tag

Created: 20/Sep/06 09:22 AM   Updated: 28/Nov/08 08:53 PM
Return to search
Component/s: Releases
Affects Version/s: 3.0
Fix Version/s: 3.1

Time Tracking:
Not Specified

Environment: window 2003 standard server, with xmlrpc++ client(version 0.7)

Resolution Date: 20/Sep/06 08:27 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.