On Fri, Apr 19, 2013 at 2:18 PM, vermesser123 <[email protected]> wrote:

> 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?
>

Maybe, maybe not. Which version of GeoServer are you using?
What is the exact request you're making?

Cheers
Andrea

-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
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