com.atlassian.confluence.importexport.ImportExportException: Error while generating PDF!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by RickCogley, 1 year ago
Error while generating PDF!
via Atlassian JIRA by Daniel Ostermeier, 1 year ago
Error while generating PDF!
via Atlassian JIRA by Anton Mazkovoi [Atlassian], 1 year ago
Error while generating PDF!
via Atlassian JIRA by Anton Mazkovoi [Atlassian], 1 year ago
Error while generating PDF!
via Atlassian JIRA by Christian Schenk, 1 year ago
Error while generating PDF!
via Atlassian JIRA by Andrew Perepelytsya, 1 year ago
Error while generating PDF!
java.lang.NullPointerException:
at org.apache.fop.render.pdf.fonts.LazyFont.getAscender(LazyFont.java:127)
at org.apache.fop.layout.FontState.getAscender(FontState.java:143)
at org.apache.fop.layout.LineArea.(LineArea.java:326)
at org.apache.fop.layout.BlockArea.getCurrentLineArea(BlockArea.java:164)
at org.apache.fop.fo.FOText.addRealText(FOText.java:263)
at org.apache.fop.fo.FOText.addText(FOText.java:252)
at org.apache.fop.fo.FOText.layout(FOText.java:161)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at com.atlassian.confluence.importexport.impl.PdfExporter.generatePDF(PdfExporter.java:159)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.