[ http://jira.codehaus.org/browse/GEOT-712?page=all ]
Martin Desruisseaux reopened GEOT-712:
--------------------------------------
In the specific case of JAI operations, we get an Error (not a
RuntimeException). Consequently the fix doesn't work. The relevant part of the
stack trace is:
sun.misc.ServiceConfigurationError: Provider
org.geotools.coverage.processing.operation.NodataFilter could not be
instantiated:
java.lang.IllegalArgumentException: A descriptor is already registered against
the name "ImageRead" under registry mode "rendered"
at sun.misc.Service.fail(Service.java:120)
at sun.misc.Service.access$200(Service.java:111)
at sun.misc.Service$LazyIterator.next(Service.java:276)
at
org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:429)
> If an exception other than NoClassDefFoundError is thrown in a constructor of
> a plugin the rest of the plugins will not be looked up.
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: GEOT-712
> URL: http://jira.codehaus.org/browse/GEOT-712
> Project: GeoTools
> Type: Bug
> Components: coverage, referencing
> Versions: 2.1.0, 2.2.M0
> Reporter: Jesse Eichar
> Assignee: Martin Desruisseaux
> Fix For: 2.2.M2
>
>
> On my box, something maybe is wrong with my jai setup, the creation of the
> NodataFilter was throwing a OperationNotFound exception. As a result the
> grid coverage operations that were defined after NodataFilter were not being
> loaded. As it turns out my program wasn't even interested in the
> NodataFilter it needed the Resample operation which is defined later in the
> service file.
> I would like to generalize the NoClassDefFoundError error to include all
> Throwable so if a plugin is a buggy plugin it will not clobber the rest of
> the plugins.
> See line 428 int FactoryRegistry.scanForPlugin( Classloader, Class )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel