NPE in org.geotools.data.wps.WPSProcess if WPS Process has no input parameters
------------------------------------------------------------------------------

                 Key: GEOT-2978
                 URL: http://jira.codehaus.org/browse/GEOT-2978
             Project: GeoTools
          Issue Type: Bug
          Components: new modules
    Affects Versions: 2.6.2
            Reporter: Matthias Lendholt
            Assignee: Jody Garnett
            Priority: Minor
             Fix For: 2.6.3


It's a rather rare use case but a WPS Process with no input parameters 
generates (done in org.geotools.data.wps.WebProcessingService) a 
ProcessDescriptionType that has no DataInputsType: pdt.getDataInputs() returns 
null. This ends up in a NPE in WPSProcess row 94: EList inputs = 
pdt.getDataInputs().getInput();

Patch will be attached.


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

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to