https://issues.apache.org/bugzilla/show_bug.cgi?id=42320
Jake Landis <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
--- Comment #20 from Jake Landis <[EMAIL PROTECTED]> 2008-06-09 15:32:33 PST
---
FYI, If others run into this....The SPI runtime dependencies are not listed in
the POM (at least for the transcoder project
http://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.7/batik-transcoder-1.7.pom).
For example this dependency is a runtime depedency for the transcoder project:
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-codec</artifactId>
<version>1.7</version>
<scope>runtime</scope>
</dependency>
Not sure if leaving out the SPI runtime dependencies from the POM is a bug or
if it is by design....but can result in this error if you dont have a service
provider defined on the class path for
org.apache.batik.ext.awt.image.spi.ImageWriter (batik-codec contains the
default service provider):
org.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
Could not write PNG file because no WriteAdapter is availble
at
org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:132)
at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
at
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]