xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Coppens <pc.subscripti...@gmail.com>
Subject Re: PDF images - IllegalStateException - Error registering a PDFObject: PDFObject already has an object number
Date Wed, 18 Jun 2008 20:58:19 GMT
Just bumped into the announcement for the 1.2 release of the component which
says.

- Fixed "PDFObject already has an object number" error occurring with
certain PDFs. 

I¹ll first upgrade :)

Sorry for the noise

Peter


On 18/06/08 22:30, "Peter Coppens" <pc.subscriptions@gmail.com> wrote:

> Fop fans,
> 
> Somewhere deep in Œmy¹ web application when rendering a constructed fo I get
> 
> SEVERE: Exception stack tracejava.lang.IllegalStateException: Error
> registering a PDFObject: PDFObject already has an object number
>         at 
> org.apache.fop.pdf.PDFDocument.assignObjectNumber(PDFDocument.java:429)
>         at org.apache.fop.pdf.PDFDocument.registerObject(PDFDocument.java:414)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapt
> er.java:100)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.transferDict(PDFBoxAdapter.java
> :169)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapt
> er.java:133)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapt
> er.java:99)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapt
> er.java:142)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapt
> er.java:142)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.createFormFromPDFBoxPage(PDFBox
> Adapter.java:182)
>         at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxPDFImageHandler.generateImage(PDFBoxPDF
> ImageHandler.java:93)
>         at 
> org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1745)
>         at 
> org.apache.fop.render.pdf.PDFRenderer.renderImage(PDFRenderer.java:1679)
>         at 
> org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:73
> 4)
>         at 
> org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPath
> OrientedRenderer.java:557)
>         at 
> org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:
> 617)
>         at 
> org.apache.fop.render.pdf.PDFRenderer.renderInlineArea(PDFRenderer.java:1345)
>         at 
> org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:59
> 2)
>         at 
> org.apache.fop.render.pdf.PDFRenderer.renderLineArea(PDFRenderer.java:1336)
>         at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:529)
>         at 
> org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:564)
>         at 
> org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1329)
>         at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:519)
>         at 
> org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:564)
>         at 
> org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1329)
>         at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:519)
>         at 
> org.apache.fop.render.AbstractPathOrientedRenderer.renderBlockViewport(Abstrac
> tPathOrientedRenderer.java:478)
> 
> ...
> 
> I was wondering whether someone can diagnose this without me having to try and
> extract a repro.
> 
> Thanks indeed!
> 
> Peter 


Mime
View raw message