java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

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 Atlassian JIRA by Doug Balmer, 1 year ago
java.lang.Integer cannot be cast to java.lang.String
via Atlassian JIRA by Doug Balmer, 1 year ago
java.lang.Integer cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at com.atlassian.confluence.rpc.xmlrpc.XmlRpcUtils.convertLong(XmlRpcUtils.java:53)
at com.atlassian.confluence.rpc.xmlrpc.XmlRpcUtils.createRemotePageFromPageStruct(XmlRpcUtils.java:21)
at com.atlassian.confluence.rpc.xmlrpc.ConfluenceXmlRpcHandlerImpl.updatePage(ConfluenceXmlRpcHandlerImpl.java:442)
at sun.reflect.GeneratedMethodAccessor1182.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invokeAuthenticatedMethod(TokenAuthenticationInvocationHandler.java:93)
at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invoke(TokenAuthenticationInvocationHandler.java:69)
at com.sun.proxy.$Proxy2277.updatePage(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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