xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos García <intmarcos.gar...@gmail.com>
Subject Re: WordML link on header / footer error
Date Fri, 22 Jul 2011 10:37:28 GMT
Hi Andreas, yes, we are using PDFBox after FOP performance, and the
exception is thrown at that point by PDFBox, not FOP.
I blamed the issue on FOP too quick, sorry for that :)
Thanks!

2011/7/21 Andreas L. Delmelle <andreas.delmelle@telenet.be>

> ----- "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