NullPointerException exporting a page or space to PDF due to Tracking-Table Macro
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
This problem is related to a third party plugin, and therefore not supported by Atlassian. See Atlassian Supported Plugins for more information.
Problem
Export of a page or space fails. The following error appears in the logs:
1
2
3
4
5
6
7
8
9
10
Caused by: java.lang.NullPointerException
at org.apache.fop.layoutmgr.table.RowPainter.addAreasAndFlushRow(RowPainter.java:153)
at org.apache.fop.layoutmgr.table.TableContentLayoutManager.iterateAndPaintPositions(TableContentLayoutManager.java:760)
at org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas(TableContentLayoutManager.java:696)
at org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas(TableLayoutManager.java:334)
at org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:393)
at org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:393)
at org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:393)
at org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:118)
at org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:297)
Cause
Using the {tracking-table} macro in a page renders the page but breaks the PDF export process.
Resolution
Thie tracking-table plugin is an unsupported plugin. Disable the plugin or check the JIRA issues.
Was this helpful?