Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
0.95, 2.4
-
None
-
None
-
Operating System: All
Platform: All
-
48975
Description
While starting fop without batik jar, this error is shown in the logs:
Error while initializing the Batik SVG extensions
java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor
at org.apache.fop.fo.extensions.svg.SVGElementMapping.initialize(SVGElementMapping.java:80)
(+long stack trace)
This is a warning, but is confusing some developers of my team. A quick check on the web shows many people are confused with this.
This is not consistent with what other extensions do.
If the only consequence is that batik is disabled, the complete stack trace should not be shown. A warning is enough, and debug info with complete stack trace should be made available.
This quick patch fixes that.