Again! I work against udig/trunk and geotools/trunk. Tested with the latest version of code.
During WMS rendering in UDIG the following exception: -------------------------------- SEVERE: No such "Resample" operation for this processor. org.opengis.coverage.processing.OperationNotFoundException: No such "Resample" operation for this processor. at org.geotools.coverage.processing.DefaultProcessor.getOperation(DefaultProces sor.java:236) at org.geotools.coverage.processing.BufferedProcessor.getOperation(BufferedProc essor.java:109) at org.geotools.coverage.processing.Operations.doOperation(Operations.java:458) at org.geotools.coverage.processing.Operations.resample(Operations.java:272) at org.geotools.renderer.lite.GridCoverageRenderer.paint(GridCoverageRenderer.j ava:197) at org.geotools.renderer.lite.LiteRenderer2.renderRaster(LiteRenderer2.java:125 6) at org.geotools.renderer.lite.LiteRenderer2.processSymbolizers(LiteRenderer2.ja va:1127) at org.geotools.renderer.lite.LiteRenderer2.processStylers(LiteRenderer2.java:1 048) at org.geotools.renderer.lite.LiteRenderer2.paint(LiteRenderer2.java:444) at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.render(Basi cWMSRenderer2.java:294) -------------------------------------- A bit before the following sequence of messages is written to console: ----------------------------------- Error while parsing JAI registry file "/META-INF/registryFile.jai" : Error in registry file at line number #30 A descriptor is already registered against the name "org.geotools.Combine" under registry mode "rendered" Error in registry file at line number #31 A descriptor is already registered against the name "org.geotools.Hysteresis" under registry mode "rendered" Error in registry file at line number #32 A descriptor is already registered against the name "org.geotools.NodataFilter" under registry mode "rendered" ------------------------------------- Also the following exception is thrown from: org.geotools.factory.FactoryRegistry.scanForPlugins(final ClassLoader loader, final Class category) method from line 429 (factory = factories.next(); ): [from stack in DEBUG] detailMessage= "org.opengis.coverage.processing.Operation: 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"" ........... Conclusion. We have registryFile.jai and org.opengis.coverage.processing.Operation files. the first one is initialized somewhere, than the second one is being initialized in this method: org.geotools.factory.FactoryRegistry. scanForPlugins(final ClassLoader loader, final Class category) . In this method the described above exception (IllegalArgumentException) is thrown when "org.geotools.coverage.processing.operation.NodataFilter" line from org.opengis.coverage.processing.Operation file is trying to be handled somewhere inside of JAI.... or whatever... the exception is thrown and all operations that are placed below "org.geotools.coverage.processing.operation.NodataFilter" line in a file are not "loaded". But "Resample" operation is exactly below... here we have reason of the problem of first exception in the top of letter. IllegalArgumentException breaks everything and doesn't let to load operations that are below "NodataFilter" in file org.opengis.coverage.processing.Operation. I tested against latest checkout from trunk both UDIG and GeoTools, putting the latest compiled main2.2.x.jar and referencing2.2.x.jar manually to lib directory of UDIG). This problem blocks WMS rendering in UDIG at least.. Vitali. ------------------------------------------------------- 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 Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel