Bug 36815 - java.lang.NoSuchMethodError when working together with batik 1.6
Summary: java.lang.NoSuchMethodError when working together with batik 1.6
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: svg (show other bugs)
Version: 0.20.5
Hardware: All All
: P2 major
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 16:13 UTC by Alexander Lohse
Modified: 2012-04-01 13:53 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Lohse 2005-09-26 16:13:13 UTC
Here is a stacktrace of a, I believe, know issue when trying to use batik 1.6 and fop together:

Exception in thread "Thread-35" 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(SVGReader.java:107)
	at org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85)
	at org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129)
	at org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181)
	at org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188)
	at org.apache.fop.fo.flow.Block.layout(Block.java:257)
	at org.apache.fop.fo.flow.Block.layout(Block.java:257)
	at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
	at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
	at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
	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
$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.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.Driver.run(Driver.java:565)
Comment 1 Andreas L. Delmelle 2005-09-26 18:26:28 UTC
It may be a known issue, I can't say for sure. What I CAN say for sure, is that, since this relates to 
version 0.20.5, this won't be fixed --either use the Batik Version supplied with FOP 0.20.5, or better, 
try out FOP's svn-trunk, which does work with Batik 1.6.
Comment 2 J.Pietschmann 2005-10-02 01:04:07 UTC
Batik 1.6 is not compatible with FOP 0.20.5.
FOP 0.20.5 will only run with the Batik release also included in the FOP
distribution. This is a documented restriction.
A better resolution of the bug would be "INVALID".
Comment 3 Glenn Adams 2012-04-01 13:53:59 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs