----- "Marcos García" <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to