Issue Type: Bug Bug
Assignee: Unassigned
Components: wps
Created: 08/Jan/13 9:34 AM
Description:

Running into two issues consuming some geoserver geoprocesses with geotools
WPS client

First, I have a custom process which describeProcess operation returns
a document containing this output definition[1]. The client tries to
access to the DataType inside the LiteralOutput and crashes with a NPE
at line 312.

Second, I've tried with another out of the box (I think) process like,
"JTS-area"[2] and I get also a NPE. In this case, the DataType is not
null, but in the same line as before, a "reference" attribute is read,
which is null and causes the code to fail later. In this case, the
data type is not in the reference attribute but on the value of the
element.

[1]
<ProcessOutputs>
<Output>
<ows:Identifier>result</ows:Identifier>
<ows:Title>result</ows:Title>
<LiteralOutput />
</Output>
</ProcessOutputs>

[2]
<ProcessOutputs>
<Output>
<ows:Identifier>result</ows:Identifier>
<ows:Title>result</ows:Title>
<LiteralOutput>
<ows:DataType>double</ows:DataType>
</LiteralOutput>
</Output>
</ProcessOutputs>

Project: GeoTools
Priority: Major Major
Reporter: Fernando González Cortés
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to