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)

Atlassian JIRA | Dave Loeng [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h4. Steps to reproduce Embed a PDF or office attachment when creating a new question. After save, the view question page displays a spinner. h4. Root cause The office connector plugin assumes all content ID's are page ID's -- resulting in the following class cast exception. {noformat} @40000000535d9e771d885b2c 2014-04-28 00:18:53,493 ERROR [TP-Processor10] [[Catalina].[localhost].[/wiki].[servlet-module-container-servlet]] log Servlet.service() for servlet servlet-module-container-servlet threw exception @40000000535d9e771d8866e4 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) @40000000535d9e771d8987f4 at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8987f4 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @40000000535d9e771d8993ac at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @40000000535d9e771d899794 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @40000000535d9e771d899b7c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89a734 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @40000000535d9e771d89ab1c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @40000000535d9e771d89af04 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89bea4 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @40000000535d9e771d89c28c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @40000000535d9e771d89c674 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89d22c at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @40000000535d9e771d89d614 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89d614 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @40000000535d9e771d89dde4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @40000000535d9e771d89e1cc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89e5b4 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @40000000535d9e771d89f16c at $Proxy405.getById(Unknown Source) @40000000535d9e771d89f16c at com.benryan.conversion.PPTSlideServlet.doGet(PPTSlideServlet.java:59) {noformat}

    Atlassian JIRA | 3 years ago | Dave Loeng [Atlassian]
    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)
  2. 0

    h4. Steps to reproduce Embed a PDF or office attachment when creating a new question. After save, the view question page displays a spinner. h4. Root cause The office connector plugin assumes all content ID's are page ID's -- resulting in the following class cast exception. {noformat} @40000000535d9e771d885b2c 2014-04-28 00:18:53,493 ERROR [TP-Processor10] [[Catalina].[localhost].[/wiki].[servlet-module-container-servlet]] log Servlet.service() for servlet servlet-module-container-servlet threw exception @40000000535d9e771d8866e4 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) @40000000535d9e771d8987f4 at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8987f4 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @40000000535d9e771d8993ac at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @40000000535d9e771d899794 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @40000000535d9e771d899b7c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89a734 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @40000000535d9e771d89ab1c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @40000000535d9e771d89af04 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89bea4 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @40000000535d9e771d89c28c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @40000000535d9e771d89c674 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89d22c at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @40000000535d9e771d89d614 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89d614 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @40000000535d9e771d89dde4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @40000000535d9e771d89e1cc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @40000000535d9e771d89e5b4 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @40000000535d9e771d89f16c at $Proxy405.getById(Unknown Source) @40000000535d9e771d89f16c at com.benryan.conversion.PPTSlideServlet.doGet(PPTSlideServlet.java:59) {noformat}

    Atlassian JIRA | 3 years ago | Dave Loeng [Atlassian]
    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)
  3. 0

    Help with tomcat - Java Programming Help - KnowCoding.com

    knowcoding.com | 2 years ago
    java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.get Instance(ApplicationAssociate.java:172) at com.sun.faces.config.JSFVersionTracker.publishInst anceToApplication(JSFVersionTracker.java:266) at com.sun.faces.config.ConfigureListener.contextInit ialized(ConfigureListener.java:408) at jboss.web.jsf.integration.config.JBossJSFConfigure Listener.contextInitialized(JBossJSFConfigureListe ner.java:69) at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.sun.faces.application.ApplicationAssociate

    java-forums.org | 2 years ago
    java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.get Instance(ApplicationAssociate.java:172) at com.sun.faces.config.JSFVersionTracker.publishInst anceToApplication(JSFVersionTracker.java:266) at com.sun.faces.config.ConfigureListener.contextInit ialized(ConfigureListener.java:408) at jboss.web.jsf.integration.config.JBossJSFConfigure Listener.contextInitialized(JBossJSFConfigureListe ner.java:69) at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
  6. 0

    Visual web jsf - Java Programming - KnowCoding.com

    knowcoding.com | 2 years ago
    java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.get Instance(ApplicationAssociate.java:172) at com.sun.faces.config.JSFVersionTracker.publishInst anceToApplication(JSFVersionTracker.java:266) at com.sun.faces.config.ConfigureListener.contextInit ialized(ConfigureListener.java:408) at jboss.web.jsf.integration.config.JBossJSFConfigure Listener.contextInitialized(JBossJSFConfigureListe ner.java:69) at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java:597)
      1 frame
    3. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame