Details
-
Bug
-
Resolution: Unresolved
-
Low
-
5
-
Severity 3 - Minor
-
0
-
Description
Issue Summary
For old/legacy editor pages, export of space/page to PDF fails when content by label macro is used inside section macro.
Steps to Reproduce
- Step 1: Create an old/legacy editor page using a legacy editor template.
- Step 2: Insert the "Section" macro into the page.
- Step 3: Insert a "Content by Label" macro inside the "Section" macro by adding some labels.
- Step 4: Save and Publish the Page.
- Step 5: Try to export the page or the whole space into PDF format.
Expected Results
PDF should be ready to download like below:
Actual Results
The PDF export fails with an error "We couldn't complete your export. Exception thrown while rendering the page 'null' to the PDF document /data/confluence/home/temp/XXXXXXXXX" like below:
The below exception is thrown in the Splunk logs:
Caused by: java.lang.NullPointerException:
Logger:
com.atlassian.confluence.extra.flyingpdf.PdfExportTaskRunnerImpl
Workaround
At the moment, remove the "Section" macro and use only the "Content by Label" macro in the old/legacy editor.
Attachments
Issue Links
- is related to
-
CONFCLOUD-70439 Can't export pages/spaces to PDF with specific GIF/PNG images
- Closed