-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Map<String,NodeRef> allNodeRefs = new HashMap<String, NodeRef>(10);
....
action.setParameterValue(PARAM_RESULT, (Serializable) allNodeRefs);
thrown exception:
com.rivetlogic.core.cma.exception.CmaRuntimeException: org.exolab.castor.xml.MarshalException: element "result" occurs more than once. (parent class: com.rivetlogic.core.cma.mapping.CmaResult)
location: /cmaResult/result{File: [not available]; line: 12; column: 46}
at com.rivetlogic.core.cma.mapping.impl.CmaCastorUnmarshaller.unmarshal(CmaCastorUnmarshaller.java:58)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.processResponse(RestExecuterImpl.java:214)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.processResponse(RestExecuterImpl.java:182)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.execute(RestExecuterImpl.java:70)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.execute(RestExecuterImpl.java:51)
at com.rivetlogic.core.cma.impl.ActionServiceImpl.execute(ActionServiceImpl.java:324)
at com.rivetlogic.core.cma.impl.ActionServiceImpl.executeAction(ActionServiceImpl.java:170)
at com.hbsp.migration.Migrate.processProduct(Migrate.java:279)
at com.hbsp.migration.Migrate.access$3(Migrate.java:258)
at com.hbsp.migration.Migrate$ProductElementHandler.onEnd(Migrate.java:188)
at org.dom4j.io.DispatchHandler.onEnd(DispatchHandler.java:202)
at org.dom4j.io.SAXContentHandler.endElement(SAXContentHandler.java:268)
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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.hbsp.migration.Migrate.main(Migrate.java:122)
Caused by: org.exolab.castor.xml.MarshalException: element "result" occurs more than once. (parent class: com.rivetlogic.core.cma.mapping.CmaResult)
location: /cmaResult/result{File: [not available]; line: 12; column: 46}
at org.exolab.castor.xml.Unmarshaller.convertSAXExceptionToMarshalException(Unmarshaller.java:761)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:727)
at com.rivetlogic.core.cma.mapping.impl.CmaCastorUnmarshaller.unmarshal(CmaCastorUnmarshaller.java:56)
... 23 more
Caused by: ValidationException: element "result" occurs more than once. (parent class: com.rivetlogic.core.cma.mapping.CmaResult)
location: /cmaResult/result
at org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:984)
at org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:1159)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:715)
... 24 more
- Trackbacks
-
888 holdings
[#CMA-7] ActionService.executeAction cannot return a java.util.Map as a result, throws exception - Rivet Logic Corporation JIRA
-
how to play blackjack
[#CMA-7] ActionService.executeAction cannot return a java.util.Map as a result, throws exception - Rivet Logic Corporation JIRA
-
ipad 2 case
[#CMA-7] ActionService.executeAction cannot return a java.util.Map as a result, throws exception - Rivet Logic Corporation JIRA
-
ipad mini accessories
[#CMA-7] ActionService.executeAction cannot return a java.util.Map as a result, throws exception - Rivet Logic Corporation JIRA
-
iphone 4 case
[#CMA-7] ActionService.executeAction cannot return a java.util.Map as a result, throws exception - Rivet Logic Corporation JIRA