Another parsing error on WPS DescribeProcessRequest 
----------------------------------------------------

                 Key: GEOT-2734
                 URL: http://jira.codehaus.org/browse/GEOT-2734
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.6-M2
            Reporter: Matthias Lendholt
         Attachments: describeProcessResponse_aais.xml

After GEOT-2727 has been fixed I found another parsing exception with a 
different WPS. Below the stack trace. I'll attach the DescribeProcess-Response 
as xml file. WPS was triggered with
http://dews-services:9000/aais/services?service=WPS&request=DescribeProcess&Identifier=AffectedAreaIdentificationProcess&version=1.0.0
WPS server is deegree3.

stacktrace:
Exception in thread "main" java.lang.RuntimeException: Parsing failed for 
Default: java.lang.RuntimeException: Unable to set property: UOM for eobject: 
{http://www.opengis.net/wps/1.0.0}SupportedUOMsType_Default
        at org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:158)
        at 
org.geotools.xml.impl.BindingWalker$BindingExecutionChain.execute(BindingWalker.java:216)
        at org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:182)
        at 
org.geotools.xml.impl.ElementHandlerImpl.endElement(ElementHandlerImpl.java:223)
        at 
org.geotools.xml.impl.ParserHandler.endElement(ParserHandler.java:605)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.geotools.xml.Parser.parse(Parser.java:221)
        at org.geotools.xml.Parser.parse(Parser.java:149)
        at 
org.geotools.data.wps.response.DescribeProcessResponse.<init>(DescribeProcessResponse.java:65)
        at 
org.geotools.data.wps.WPS1_0_0$InternalDescribeProcessRequest.createResponse(WPS1_0_0.java:133)
        at 
org.geotools.data.ows.AbstractWPS.internalIssueRequest(AbstractWPS.java:417)
        at 
org.geotools.data.wps.WebProcessingService.issueRequest(WebProcessingService.java:233)
        at ...
Caused by: java.lang.RuntimeException: Unable to set property: UOM for eobject: 
{http://www.opengis.net/wps/1.0.0}SupportedUOMsType_Default
        at 
org.geotools.xml.AbstractComplexEMFBinding.setProperty(AbstractComplexEMFBinding.java:284)
        at 
org.geotools.xml.AbstractComplexEMFBinding.setProperties(AbstractComplexEMFBinding.java:202)
        at 
org.geotools.xml.AbstractComplexEMFBinding.parse(AbstractComplexEMFBinding.java:143)
        at org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:149)
        ... 21 more
Caused by: java.lang.ClassCastException: javax.measure.unit.BaseUnit cannot be 
cast to net.opengis.ows11.DomainMetadataType
        at 
net.opengis.wps10.impl.DefaultType1Impl.eSet(DefaultType1Impl.java:142)
        at 
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:654)
        at org.geotools.xml.EMFUtils.set(EMFUtils.java:59)
        at 
org.geotools.xml.AbstractComplexEMFBinding.setProperty(AbstractComplexEMFBinding.java:232)
        ... 24 more

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

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to