Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.6.5, 5.7, 5.6.6
-
15
-
Severity 3 - Minor
-
1
-
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
When a page contains the Content Report Table macro, the macro is not rendered in the PDF export of the space. It works fine in single page exports.
Error in the logs is:
2015-03-09 19:29:19,945 ERROR [Long running task: PDF Space Export] [xhtml.view.macro.ViewMacroMarshaller] marshalInternal Error rendering macro: content-report-table -- url: /spaces/flyingpdf/doflyingpdf.action | userName: Jenn | referer: https://confluence.exient.com:8443/spaces/flyingpdf/flyingpdf.action?key=XXX | action: doflyingpdf com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:118) at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:52) at sun.reflect.GeneratedMethodAccessor515.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy918.render(Unknown Source) at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) at sun.reflect.GeneratedMethodAccessor464.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)
Attachments
Issue Links
- is related to
-
CONFSERVER-39013 Confluence Activity Stream and Recommend Updates email shows RuntimeException: Error while computing function "contextPath()": null
- Closed
-
CONFSERVER-47666 Confluence Questions notifications not working
- Closed
-
CONFSERVER-35326 Task Report Macro fails to render when Exporting a Space to PDF
- Closed
-
CONFSERVER-37112 'Error: RuntimeException' in a Space Export when a Page includes a Contributors macro
- Closed
-
CONFSERVER-33193 Content Report Table macro NPE's with labels that contain characters like !@#&*() and ;
- Gathering Impact
- relates to
-
CONFCLOUD-36925 Content Report Table macro not rendered in space PDF export
- Closed
-
CONFSERVER-39207 Ignore or diagnose errors / failed attempts to export the whole space as PDF
- Closed