org.apache.xmlrpc.XmlRpcException: Error -122 Parameter '{struct,[{name,<<"public">>},{value,<<"true">>}]}' can't be coerced to type '{tuple,[{name,binary},{value,binary}]}'


Solutions on the web10

Solution icon of stackoverflow
Error -122 Parameter '{struct,[{name,<<"public">>},{value,<<"true">>}]}' can't be coerced to type '{tuple,[{name,binary},{value,binary}]}'

Solution icon of stackoverflow
"); System.err.println(e.getMessage()); throw e; } //TODO add code to inform if user successfully created return true; } </code></pre> <hr> <p><strong>Edit:</strong> I tried MathRo's suggestion and it still gives the error:</p> <pre> <b>Exception in thread "main" org.apache.xmlrpc.XmlRpcException: Server error. Requested method user.create not specified.</b>

Solution icon of github
via GitHub by baumgaro
, 1 year ago
<type 'exceptions.UnicodeDecodeError'>:'utf8' codec can't decode byte 0xb2 in position 25: unexpected code byte

Solution icon of bugzilla
via https://bugzilla.redhat.com/bugzilla/ by Ohad Basan, 1 year ago
<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled

Solution icon of sonatype
via Sonatype JIRA by Rich Seddon, 1 year ago
java.lang.Exception: com.atlassian.jira.rpc.exception.RemoteValidationException: {summary=Summary must be less than 255 characters.} : []

Solution icon of github
Failed to invoke method getSubCollectionPermissions in class org.exist.xmlrpc.RpcConnection: nul

Solution icon of xwiki
via XWiki.org JIRA by Martin W. Kirst, 1 year ago
Failed to invoke method getObject in class com.xpn.xwiki.xmlrpc.XWikiXmlRpcApiImpl: [Unable to find object XWiki.TagClass[0] on page 'Sandbox.TestTags']

Solution icon of apache
via Apache's JIRA Issue Tracker by Inaki Ortiz, 1 year ago
Failed to parse XML-RPC request: Content is not allowed in prolog.

Solution icon of web
Failed to invoke method queryP in class org.exist.xmlrpc.RpcConnection: org.exist.xquery.StaticXQueryException: exerr:ERROR org.exist.xquery.XPathException: exerr:ERROR err:XPST0003 in line 1, column 58: unexpected token: .

Solution icon of stackoverflow
via Stack Overflow by Sam Ben
, 1 year ago
Failed to invoke method queryP in class org.exist.xmlrpc.RpcConnection: org.exist.xquery.StaticXQueryException: exerr:ERROR org.exist.xquery.XPathException: exerr:ERROR err:XPST0003 in line 1, column 58: unexpected token: .

Stack trace

org.apache.xmlrpc.XmlRpcException: Error -122
Parameter '{struct,[{name,<<"public">>},{value,<<"true">>}]}' can't be coerced to type '{tuple,[{name,binary},{value,binary}]}'
	at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:181)
	at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:149)
	at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:95)
	at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:39)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

19 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago