xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas L. Delmelle" <andreas.delme...@telenet.be>
Subject Re: WordML link on header / footer error
Date Thu, 21 Jul 2011 14:44:26 GMT
----- "Marcos GarcĂ­a" <intmarcos.garcia@gmail.com> wrote:

Hi Marcos

> I usually use the <fo:basic-link> element to get links working on the
> resulting pdf and it works pretty well as long as the link is not
> included
> within the WordML header/footer. In that case I get a Nullpointer
> Exception
> like this:
> 
> [FOP message]
> 21-jul-2011 8:37:29 org.apache.fop.events.LoggingEventListener
> processEvent
> FATAL: Error while rendering page 1. Reason:
> java.lang.NullPointerException
> (Unknown source) org.xml.sax.SAXException
> 
> [Java stacktrace error]
> java.lang.NullPointerException
>     at
> org.apache.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:187)
>     at

Not sure what the exact cause is, but this error is definitely thrown by PDFBox, not FOP.
FOP would not use PDFBox unless you are including PDFs via the fox:external-document extension.
Is your application using PDFBox to post-process the PDF that FOP produces?


Regards,

Andreas
---

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message