Hello everybody,

when you send a request via http-post, the parameter ResponseForm is
optional (zero or one). But when I am doing this in Geoserver, a
NullPointer-Exception is thrown in the ExecuteResponseBuilder class.

Is this a bug in GeoServer?

I added the code

if(request.getResponseForm()==null){
   Wps10Factory factory = Wps10Factpry.eINSTANCE;
   ResponseFormType responseForm = factory.createResponseFormType();
   request.setResponseForm(responseForm);
}

... in the class ExecuteReponseBuilder.java (package
org.geoserver.wps.executor) to avoid the exception, but I don't really know,
if this is correct?


Greetings

Max Meier



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/NullPointerException-in-Class-ExecuteResponseBuilder-tp5048286.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to