xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: pdf-image extension problems
Date Mon, 15 Sep 2008 14:32:51 GMT
Thanks for the bug report and the test case. I've fixed the bug and will
send you a new build off-list. If there are no other bugs reported in
the short term, I'll see if I can do another release.

On 12.09.2008 17:58:19 Maximilian Gaerber wrote:
> Hi,
> 
> when using the pdf-image extension I get an exception when trying to 
> place a pdf where all box sizes (trim, media etc.) are the same. PDF 
> attached.
> 
> SCHWERWIEGEND: Error while rendering page 2
> java.lang.NullPointerException
>     at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.createFormFromPDFBoxPage(PDFBoxAdapter.java:229)
>     at 
> org.apache.fop.render.pdf.pdfbox.PDFBoxPDFImageHandler.generateImage(PDFBoxPDFImageHandler.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:743)
>     at 
> org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:621)
>     at 
> org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:626)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderInlineArea(PDFRenderer.java:1345)
>     at 
> org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:601)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderLineArea(PDFRenderer.java:1336)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:536)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:573)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1329)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
>     at 
> org.apache.fop.render.AbstractPathOrientedRenderer.renderReferenceArea(AbstractPathOrientedRenderer.java:548)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:560)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1329)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:573)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1329)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:573)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1329)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
>     at 
> org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:424)
>     at 
> org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:577)
>     at 
> org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:403)
>     at 
> org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:337)
>     at 
> org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:282)
>     at 
> org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:255)
>     at 
> org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:229)
>     at 
> org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:801)
>     at 
> org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:113)
>     at 
> org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312)
>     at 
> org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167)
>     at 
> org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:284)
>     at 
> org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:494)
>     at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:398)
>     at 
> org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:421)
>     at 
> org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:371)
>     at 
> org.apache.fop.layoutmgr.PageBreaker.doPhase3WithColumnBalancing(PageBreaker.java:336)
>     at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:255)
>     at 
> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:346)
>     at 
> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264)
>     at 
> org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106)
>     at 
> org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
>     at 
> org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
>     at 
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:340)
>     at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169)
>     at 
> org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
>     at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
> Source)
>     at org.apache.xerces.xinclude.XIncludeHandler.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.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
> Source)
>     at 
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
>     at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>     at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>     at org.apache.fop.cli.Main.startFOP(Main.java:166)
>     at org.apache.fop.cli.Main.main(Main.java:197)
> 12.09.2008 17:43:55 org.apache.fop.cli.Main startFOP
> SCHWERWIEGEND: Exception
> java.lang.NullPointerException
>     at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>     at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>     at org.apache.fop.cli.Main.startFOP(Main.java:166)
>     at org.apache.fop.cli.Main.main(Main.java:197)
> 
> ---------
> 
> 
> 
> 
> News des Monats: www.thermopal.de - E-Business Lösung mit System für Thermopal, eine
Tochter der Pfleiderer AG: Neugestaltung, wegweisende Produktsuche und moderne Nutzerführung!
> 
> -- 
> infolox GmbH
> Maximilian Gärber
> Bregenzer Straße 101
> D-88131 Lindau
> 
> fon +49 8382 / 275 894-70
> fax +49 8382 / 275 894-9
> mob +49 176 / 20 10 33 24
> 
> mail maximilian.gaerber@infolox.de
> www.infolox.de
> www.selektofix.de
> www.katalogfabrik.de
> www.typo3-services.com
> 
> 
> Rechtsform: Gesellschaft mit beschränkter Haftung
> Sitz der Gesellschaft: Lindau a. B.
> Registergericht: Amtsgericht Kempten
> Registernummer: HRB 8161
> Geschäftsführer: Stefan Bauhuis, Alexander Pircher, Richard Schmid
> 




Jeremias Maerki


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