[
https://issues.apache.org/jira/browse/BATIK-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426115#comment-15426115
]
Thomas Letsch commented on BATIK-1005:
--------------------------------------
It seems to me that the github pull requests are not always recognized. I
suppose we have to keep in mind, that the project itself still uses SVN hosted
on apache.org.
At least #2 is fixed in upstream
(https://github.com/apache/batik/commit/e2200fd50e424f6e132ec86ba65bb0b0805ca4d3)
So at least it is not abandoned, even if I also agree that a fix for the
remaining issues would be very much appreciated :-)
> maven batik-awt-util 1.7 missing META-INF/services/ file for
> ImageWriterRegistry?
> ---------------------------------------------------------------------------------
>
> Key: BATIK-1005
> URL: https://issues.apache.org/jira/browse/BATIK-1005
> Project: Batik
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.7
> Environment: Operating System: All
> Platform: Macintosh
> Reporter: Jessica
> Assignee: Batik Developer's Mailing list
>
> When we switched our project to maven, we started seeing a null pointer
> exception coming from the JPEGTranscoder, line 89. The exception happens
> because the singleton org.apache.batik.ext.awt.image.spi.ImageWriterRegistry
> instance does not have any ImageWriters registered so null is returned
> instead of a JPEGImageWriter instance.
> Looking at the code for the ImageWriterRegistry class, I think there should
> be a file called "org.apache.batik.ext.awt.image.spi.ImageWriter" inside of
> META-INF/services/ in the distributed jar which lists the image writers to
> register during setup. However, there is no such file in the
> batik-awt-util-1.7.jar.
> I do see a file in xmlgraphics-commons jar for the
> org.apache.xmlgraphics.image.writer.ImageWriter class, but the JPEGTranscoder
> doesn't use the registry from that package.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]