org.apache.xmlrpc.XmlRpcException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Fetching the object XWiki.TagClass from a newly created page via XMLRPC-API, will cause a org.apache.xmlrpc.XmlRpcException. Steps to reproduce * create a new page, example Space: Sandbox, Page: TestTags * Use the XMLRPC example program "Page: List Tags" (http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPCJavaExamples#HPage:ListTags) * Change the code to point to {{pageId = "Sandbox.TestTags"}} * Run it --> Exception see below Remarks/Workaround: * Once, you've added some tags manually to the page the code sample works perfectly * Even if you delete on a random page all existing tags, the sample code works perfectly Expected Behavior: * When fetching tags from a new page, I just want to have an empty list of tags. * The XmlRpcException is to much generous to react properly on this fact. * There should be a consisted behavior, when retrieving tags from a new page or an older page, where all the tags where deleted. This Exception happens: ---------------------------- org.apache.xmlrpc.XmlRpcException: Failed to invoke method getObject in class com.xpn.xwiki.xmlrpc.XWikiXmlRpcApiImpl: [Unable to find object XWiki.TagClass[0] on page 'Sandbox.TestTags'] at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:44) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125) at org.xwiki.xmlrpc.XWikiXmlRpcClient.invokeRpc(XWikiXmlRpcClient.java:1023) at org.xwiki.xmlrpc.XWikiXmlRpcClient.getObject(XWikiXmlRpcClient.java:716) at org.xwiki.xmlrpc.XWikiXmlRpcClient.getObject(XWikiXmlRpcClient.java:782) at ListTags.main(ListTags.java:28)
    via by Martin W. Kirst,
  • Cannot delete testbed
    via GitHub by CJHoffmann
    ,
  • How to query eXist db from java
    via Stack Overflow by Sam Ben
    ,
  • Custom Model OE7
    via GitHub by Ben17000
    ,
    • org.apache.xmlrpc.XmlRpcException: Failed to invoke method getObject in class com.xpn.xwiki.xmlrpc.XWikiXmlRpcApiImpl: [Unable to find object XWiki.TagClass[0] on page 'Sandbox.TestTags'] at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:44) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125) at org.xwiki.xmlrpc.XWikiXmlRpcClient.invokeRpc(XWikiXmlRpcClient.java:1023) at org.xwiki.xmlrpc.XWikiXmlRpcClient.getObject(XWikiXmlRpcClient.java:716) at org.xwiki.xmlrpc.XWikiXmlRpcClient.getObject(XWikiXmlRpcClient.java:782) at ListTags.main(ListTags.java:28)

    Users with the same issue

    boussoffara med aliboussoffara med ali
    19 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,