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 Alice Wang [Atlassian], 1 year ago
com.atlassian.confluence.pages.BlogPost cannot be cast to com.atlassian.conflu ence.pages.Page
via Atlassian JIRA by Petro Semeniuk [Atlassian], 1 year ago
com.atlassian.confluence.pages.BlogPost cannot be cast to com.atlassian.confluence.pages.Page
java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost cannot be cast to com.atlassian.conflu
ence.pages.Page	at com.atlassian.confluence.rpc.soap.services.PagesSoapService.getPage(PagesSoapService.java:88)	at com.atlassian.confluence.rpc.soap.XhtmlSoapService.getPage(XhtmlSoapService.java:370)	at sun.reflect.GeneratedMethodAccessor2892.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at com.sun.proxy.$Proxy1282.getPage(Unknown Source)	at com.atlassian.confluence.rpc.xmlrpc.ConfluenceXmlRpcHandlerImpl.getPage(ConfluenceXmlRpcHandlerImpl.java:295)	at sun.reflect.GeneratedMethodAccessor2891.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invokeAuthenticatedMethod(TokenAuthenticationInvocationHandler.java:102)	at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invoke(TokenAuthenticationInvocationHandler.java:76)	at com.sun.proxy.$Proxy3374.getPage(Unknown Source)	at sun.reflect.GeneratedMethodAccessor2631.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)	at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)	at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)	at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)	at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:114)	at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.serviceXmlRpcRequest(XmlRpcServer.java:104)	at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.service(XmlRpcServer.java:78)	at com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:76)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)