xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Edge" <Martin.E...@intellimail.com.au>
Subject RE: fop-pdf-images
Date Tue, 30 Oct 2012 06:31:17 GMT
Cool thanks – I have a work around for now

 

 

 

From: Glenn Adams [mailto:glenn@skynav.com] 
Sent: Tuesday, 30 October 2012 5:09 PM
To: fop-users@xmlgraphics.apache.org; Martin.Edge@intellimail.com.au
Subject: Re: fop-pdf-images

 

Luis Bernardo is in the process of creating a new PDF images plugin that will interoperate
with FOP 1.1, so please be patient (of course you are free to build yourself, if you can't
wait).

On Tue, Oct 30, 2012 at 2:29 AM, Martin Edge <Martin.Edge@intellimail.com.au> wrote:

Hi,

 

I downloaded FOP 1.1 and also downloaded the latest PDF-images plugin (2.0.0 and 2.0.1), here
is the error I get ;

 

Could not convert FO to PDF: Exception in thread "main" java.lang.VerifyError: (class: org/apache/fop/render/pdf/pdfbox/PDFBoxAdapter,
method: cloneForNewDocument signature: (Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Collection;)Ljava/lang/Object;)
Incompatible argument to function

                at org.apache.fop.render.pdf.pdfbox.AbstractPDFBoxHandler.createFormForPDF(AbstractPDFBoxHandler.java:90)

                at org.apache.fop.render.pdf.pdfbox.PDFBoxImageHandler.handleImage(PDFBoxImageHandler.java:57)

                at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:228)

                at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:184)

                at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:149)

                at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingURI(AbstractIFPainter.java:271)

                at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:150)

                at org.apache.fop.render.intermediate.IFRenderer.drawImage(IFRenderer.java:1272)

                at org.apache.fop.render.intermediate.IFRenderer.renderImage(IFRenderer.java:1259)

                at org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:816)

                at org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:785)

                at org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:866)

                at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:678)

                at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:913)

                at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:643)

                at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:561)

                at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598)

                at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980)

                at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546)

                at org.apache.fop.render.AbstractPathOrientedRenderer.renderReferenceArea(AbstractPathOrientedRenderer.java:710)

                at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:585)

                at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980)

                at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546)

                at org.apache.fop.render.intermediate.IFRenderer.renderBlockViewport(IFRenderer.java:816)

                at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:578)

                at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980)

                at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546)

                at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598)

                at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980)

                at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546)

                at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:451)

                at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:738)

                at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:428)

                at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:352)

                at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:299)

                at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:748)

                at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:273)

                at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:238)

                at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597)

                at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123)

                at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312)

                at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:191)

                at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:283)

                at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:151)

                at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:557)

                at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:148)

                at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)

                at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:387)

                at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)

                at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:113)

                at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267)

                at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:128)

                at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:347)

                at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181)

                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:300)

                at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)

                at org.apache.fop.cli.Main.startFOP(Main.java:177)

                at org.apache.fop.cli.Main.main(Main.java:208)

 

Will anyone be building a new snapshot – or am I forced to build all from source to achieve?


 

Thanks
Martin.

IntelliMail

 


Mime
View raw message