java.lang.ClassCastException: com.atlassian.confluence.content.CustomContentEntityObject cannot be cast to com.atlassian.confluence.pages.AbstractPage @40000000535d9e771d886acc at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:18) @40000000535d9e771d888a0c at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) @40000000535d9e771d888df4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d8891dc at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8895c4 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @40000000535d9e771d889d94 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @40000000535d9e771d88a17c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @40000000535d9e771d88a564 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @40000000535d9e771d88c88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d88cc74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @40000000535d9e771d88d05c at $Proxy54.getAbstractPageById(Unknown Source) @40000000535d9e771d88d05c at com.atlassian.confluence.pages.DefaultPageManager.getAbstractPage(DefaultPageManager.java:162) @40000000535d9e771d890324 at com.atlassian.confluence.pages.DefaultPageManager.getById(DefaultPageManager.java:173) @40000000535d9e771d89070c at sun.reflect.GeneratedMethodAccessor910.invoke(Unknown Source) @40000000535d9e771d890af4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d890edc at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8916ac at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @40000000535d9e771d891a94 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @40000000535d9e771d891e7c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @40000000535d9e771d892e1c at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @40000000535d9e771d893204 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d8935ec at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) @40000000535d9e771d8941a4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89458c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @40000000535d9e771d894974 at $Proxy56.getById(Unknown Source) @40000000535d9e771d894974 at sun.reflect.GeneratedMethodAccessor855.invoke(Unknown Source) @40000000535d9e771d895144 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d89552c at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d89552c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @40000000535d9e771d895cfc at $Proxy176.getById(Unknown Source) @40000000535d9e771d897c3c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @40000000535d9e771d898024 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @40000000535d9e771d89840c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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 Dave Loeng [Atlassian], 1 year ago
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:18) @40000000535d9e771d888a0c at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) @40000000535d9e771d888df4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:18) @40000000535d9e771d888a0c at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) @40000000535d9e771d888df4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
via spring.io by Unknown author, 2 years ago
$Proxy10 cannot be cast to org.springframework.remoting.httpinvoker.HttpInvok erProxyFactoryBean at uk.co.mo.app.moses.domain.customer.RemoteCustomerS erviceTest.testCustomerSelectHttpInvoker(RemoteCus tomerServiceTest.java:35) at
via knowcoding.com by Unknown author, 1 year ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
via knowcoding.com by Unknown author, 2 years ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
via knowcoding.com by Unknown author, 2 years ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
java.lang.ClassCastException: com.atlassian.confluence.content.CustomContentEntityObject cannot be cast to com.atlassian.confluence.pages.AbstractPage @40000000535d9e771d886acc at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:18) @40000000535d9e771d888a0c at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) @40000000535d9e771d888df4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d8891dc at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8895c4 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @40000000535d9e771d889d94 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @40000000535d9e771d88a17c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @40000000535d9e771d88a564 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @40000000535d9e771d88c88c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d88cc74 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @40000000535d9e771d88d05c at $Proxy54.getAbstractPageById(Unknown Source) @40000000535d9e771d88d05c at com.atlassian.confluence.pages.DefaultPageManager.getAbstractPage(DefaultPageManager.java:162) @40000000535d9e771d890324 at com.atlassian.confluence.pages.DefaultPageManager.getById(DefaultPageManager.java:173) @40000000535d9e771d89070c at sun.reflect.GeneratedMethodAccessor910.invoke(Unknown Source) @40000000535d9e771d890af4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d890edc at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8916ac at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @40000000535d9e771d891a94 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @40000000535d9e771d891e7c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @40000000535d9e771d892e1c at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @40000000535d9e771d893204 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d8935ec at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) @40000000535d9e771d8941a4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89458c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @40000000535d9e771d894974 at $Proxy56.getById(Unknown Source) @40000000535d9e771d894974 at sun.reflect.GeneratedMethodAccessor855.invoke(Unknown Source) @40000000535d9e771d895144 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d89552c at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d89552c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @40000000535d9e771d895cfc at $Proxy176.getById(Unknown Source) @40000000535d9e771d897c3c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @40000000535d9e771d898024 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @40000000535d9e771d89840c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Users with the same issue

You are the first who have seen this exception.

Write tip

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