org.geoserver.wps.ppio.ProcessParameterIO.findAll(Parameter<?>,
ApplicationContext) causes multiple warnings about the ApplicationContext
being unset when it is called with a null ApplicationContext. It actually
does two extension lookups, one for ProcessParameterIO and another for
PPIOFactory, but the ProcessParameterIO lookup has an if statement to
prevent the warnings there. These warnings can occur during WPS Execute
requests and when using the WPS request builder.
// no warnings here:
if (context != null) {
l.addAll(GeoServerExtensions.extensions(ProcessParameterIO.class,
context));
} else {
l.addAll(GeoServerExtensions.extensions(ProcessParameterIO.class));
}
// warnings here:
List<PPIOFactory> ppioFactories =
GeoServerExtensions.extensions(PPIOFactory.class, context);
WARNING [org.geoserver.platform] Extension lookup 'PPIOFactory', but
ApplicationContext is unset.
WARNING [org.geoserver.platform] Extension lookup 'ExtensionFilter', but
ApplicationContext is unset.
WARNING [org.geoserver.platform] Extension lookup 'ExtensionProvider', but
ApplicationContext is unset.
WARNING [org.geoserver.platform] Extension lookup 'ExtensionFilter', but
ApplicationContext is unset.
Steve Ikeoka
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WPS-Warnings-Application-is-unset-tp5313517.html
Sent from the GeoServer - User mailing list archive at Nabble.com.