Hello, When I'm trying to use an svg image als an graphic in FOP im getting following error:
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP @version@ [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.batik.ext.awt.image.spi.ImageTagRegistry.getRegistry(ImageTag Registry.java:273) at org.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(SVGI mageElementBridge.java:280) at org.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode(SVGImag eElementBridge.java:138) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:182 ) at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148) at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:76) at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java :590) at org.apache.fop.render.pdf.PDFRenderer.drawImageScaled(PDFRenderer.java:3 80) at org.apache.fop.render.AbstractRenderer.renderImageArea(AbstractRenderer. java:326) at org.apache.fop.image.ImageArea.render(ImageArea.java:107) at org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRende rer.java:451) at org.apache.fop.layout.ColumnArea.render(ColumnArea.java:71) at org.apache.fop.render.AbstractRenderer.renderSpanArea(AbstractRenderer.j ava:100) at org.apache.fop.layout.SpanArea.render(SpanArea.java:94) at org.apache.fop.render.AbstractRenderer.renderBodyAreaContainer(AbstractR enderer.java:368) at org.apache.fop.layout.BodyAreaContainer.render(BodyAreaContainer.java:13 7) at org.apache.fop.render.AbstractRenderer.renderRegions(AbstractRenderer.ja va:529) at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:904) at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:880) at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:302) at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:108) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:415 ) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.fop.apps.Driver.render(Driver.java:498) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62) Caused by: java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121) at java.awt.Label.(Label.java:133) at java.awt.Label.(Label.java:100) at org.apache.batik.ext.awt.image.spi.JDKRegistryEntry.(JDKRegistryEntry.ja va:102) ... 36 more Any Ideas whats wrong with that image? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]