Hi developers, I attached a patch to this bug report and it would be great if someone could apply it and not just defer this issue again ;-) Thanks!
Matthias -------- Original-Nachricht -------- Betreff: [jira] Updated: (GEOT-2978) NPE in org.geotools.data.wps.WPSProcess if WPS Process has no input parameters Datum: Tue, 18 May 2010 21:16:16 -0500 (CDT) Von: Jody Garnett (JIRA) <[email protected]> [ http://jira.codehaus.org/browse/GEOT-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jody Garnett updated GEOT-2978: ------------------------------- Fix Version/s: (was: 2.6.4) 2.6.5 > 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.5 > > Attachments: GEOT-2978.patch > > > 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. -- Matthias Lendholt [[email protected]] tel: +49 331 288 1687; fax: +49 331 288 1703 GFZ German Research Centre for Geosciences Telegrafenberg A20; 14473 Potsdam; Germany ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
