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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by greenPadawan
, 10 months ago
Error -122 Parameter '{struct,[{name,<<"public">>},{value,<<"true">>}]}' can't be coerced to type '{tuple,[{name,binary},{value,binary}]}'
via Stack Overflow by hassan
, 2 years ago
"); 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>
via GitHub by baumgaro
, 2 years ago
<type 'exceptions.UnicodeDecodeError'>:'utf8' codec can't decode byte 0xb2 in position 25: unexpected code byte
via GitHub by public-user
, 2 years ago
Failed to invoke method getSubCollectionPermissions in class org.exist.xmlrpc.RpcConnection: nul
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']
via Apache's JIRA Issue Tracker by Inaki Ortiz, 1 year ago
Failed to parse XML-RPC request: Content is not allowed in prolog.
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)

Users with the same issue

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

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.