|
Hi,
I am trying to understant AFP documents and what
the AFP renderer can do. When I try to run the sample batch file after all the
classNotFound exceptions I get this
RunAFp afptest01.fo AFPTest01.afp - on the prompt.
I am using batik 1.1.1
I would really appreciate some help on
this.
Thanks.
B.
[DEBUG] Using org.apache.xerces.parsers.SAXParser
as SAX2 Parser
[INFO] building formatting object tree [DEBUG] setting up fonts [INFO] [1] [INFO] [2] [INFO] [3] [INFO] [4] [INFO] [5] [INFO] [6] [INFO] [7] [INFO] [8] [INFO] [9] [INFO] [10] [ERROR] AFP renderer - image size error, file: ./res/dario.tif - java.util.NoSuchElementException [ERROR] AFP renderer - image size error, file: ./res/linux.bmp - java.util.NoSuchElementException [ERROR] AFP renderer - image size error, file: ./res/linux.bmp - java.util.NoSuchElementException [ERROR] AFP renderer - image error file: ./res/dario.tif - java.util.NoSuchElementException [ERROR] AFP renderer - image error file: ./res/linux.bmp - java.util.NoSuchElementException [ERROR] AFP renderer - image error file: ./res/linux.bmp - java.util.NoSuchElementException [INFO] [11] [INFO] [12] Exception in thread "main" java.lang.NoSuchMethodError: org.apache.batik.bridge.UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/Element;)Lorg/apache/batik/util/UnitProcessor$Context; at org.apache.fop.image.analyser.SVGReader.loadImage(Unknown Source) at org.apache.fop.image.analyser.SVGReader.verifySignature(Unknown Source) at org.apache.fop.image.analyser.ImageReaderFactory.Make(Unknown Source) at org.apache.fop.image.FopImageFactory.Make(Unknown Source) at org.apache.fop.fo.flow.ExternalGraphic.layout(Unknown Source) at org.apache.fop.fo.flow.Block.layout(Unknown Source) at org.apache.fop.fo.flow.Flow.layout(Unknown Source) at org.apache.fop.fo.flow.Flow.layout(Unknown Source) at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source) at org.apache.fop.apps.StreamRenderer.render(Unknown Source) at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:559) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:853) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2978) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1145) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1446) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148) at org.apache.fop.apps.Driver.render(Unknown Source) at org.apache.fop.apps.Driver.run(Unknown Source) at org.apache.fop.render.afp.AFPRun.<init>(AFPrun.java:57) at org.apache.fop.render.afp.AFPRun.main(AFPrun.java:82) D:\Programs\afp stuff\afp_fop> |
