[geotk] [JIRA] Created: (GEOTK-110) sun.misc.ServiceConfigurationError when using the jai_imageio JAR included in the bundle

Martin Desruisseaux (JIRA) jira at geomatys.com
Fri Jul 30 08:44:46 EDT 2010


sun.misc.ServiceConfigurationError when using the jai_imageio JAR included in the bundle
----------------------------------------------------------------------------------------

                 Key: GEOTK-110
                 URL: http://jira.geotoolkit.org/browse/GEOTK-110
             Project: Geotoolkit
          Issue Type: Bug
          Components: Coverage
    Affects Versions: 3.13
         Environment: Geotk bundle
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 3.14, 3.15


When using the Geotk bundle which include the {{jai_imageio.jar}} dependency, any attempt to read an image produce the following exception:

{code}
sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi:
Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi could not be instantiated:
java.lang.IllegalArgumentException: vendorName == null!
{code}

This problem occurs only with Geotk bundle, not with the JAR deployed by Maven. The problem is caused by missing implementation vendors information in the {{META-INF/MANIFEST.MF}} file.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.geotoolkit.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Geotoolkit mailing list