-
Bug
-
Resolution: Fixed
-
Low
-
5.8.4, 5.8.5, 5.8.9, 5.8.10
Summary
Space Export to PDF or Word fails when a Page in the space includes a Contributors macro
Steps to reproduce
- Include a 'Contributors' macro in a Confluence page;
- save the page and export the Space to PDF or word;
Expected result: 'Contributors' macro content is displayed in the PDF or word export as it is in the page view.
Actual result: the page content is replaced with an error:Error: RuntimeException occurred while performing an XHTML storage transformation (In template Confluence.Templates.User.userLinkUrl:
When evaluating "contextPath()": Error while computing function "contextPath()": null)
Errors are thrown in Confluence logs:
2015-04-01 12:26:03.834140500 2015-04-01 12:26:03,831 ERROR [Long running task: PDF Space Export] [content.render.xhtml.DefaultRenderer] render Error rendering content for view: RuntimeException occurred while performing an XHTML storage transformation (In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null) 2015-04-01 12:26:03.834144500 -- referer: https://mako.jira-dev.com/wiki/spaces/flyingpdf/flyingpdf.action?key=CHQImport | url: /wiki/spaces/flyingpdf/doflyingpdf.action | userName: dwierzbicka | action: doflyingpdf 2015-04-01 12:26:03.834158500 com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while performing an XHTML storage transformation (In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null)
2015-04-01 12:26:03.834282500 Caused by: com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null
See full logs: space-export.txt
Note: this doesn't affect the PDF export of an individual page.
Workaround
- remove the 'Contributors' macro from the pages before exporting them;
- use the individual page export.
- is related to
-
CONFSERVER-39013 Confluence Activity Stream and Recommend Updates email shows RuntimeException: Error while computing function "contextPath()": null
-
- Closed
-
-
CONFSERVER-35326 Task Report Macro fails to render when Exporting a Space to PDF
-
- Closed
-
-
JST-134436 You do not have permission to view this issue
- relates to
-
CONFSERVER-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
- mentioned in
-
Page Loading...
[CONFSERVER-37112] 'Error: RuntimeException' in a Space Export when a Page includes a Contributors macro
Workflow | Original: JAC Bug Workflow v3 [ 2879795 ] | New: CONFSERVER Bug Workflow v4 [ 3003540 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2794474 ] | New: JAC Bug Workflow v3 [ 2879795 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2733945 ] | New: JAC Bug Workflow v2 [ 2794474 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399349 ] | New: JAC Bug Workflow [ 2733945 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2297830 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399349 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2232980 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2297830 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193642 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2232980 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1935641 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193642 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1735028 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1935641 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1693819 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1735028 ] |