Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
4.1
-
None
Description
I thought there was a known issue for this but I can't find it.
OC macros fail to render when embedded in a comment. The produce this stacktrace (this may have changed in 4.1)
2012-02-05 16:17:32,547 ERROR [http-9080-50] [ContainerBase.[Catalina].[localhost].[/]] log Unhandled exception occurred whilst decorating page -- url: /plugins/servlet/pptslide | userName: ssaasen | referer: https://extranet.atlassian.com/s/en_GB/3235/b10fcc76fa0b8176ab717a017989a7965ba6c99a.65/2.1.1/_/download/resources/com.atlassian.confluence.extra.officeconnector:pptslid java.lang.ClassCastException: com.atlassian.confluence.pages.Comment cannot be cast to com.atlassian.confluence.pages.AbstractPage at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:18) at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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 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 $Proxy41.getAbstractPageById(Unknown Source) at com.atlassian.confluence.pages.DefaultPageManager.getAbstractPage(DefaultPageManager.java:135) at com.atlassian.confluence.pages.DefaultPageManager.getById(DefaultPageManager.java:146) at sun.reflect.GeneratedMethodAccessor941.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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 org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy43.getById(Unknown Source) … at $Proxy324.getById(Unknown Source) at com.benryan.conversion.PPTSlideServlet.doGet(PPTSlideServlet.java:57) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)