[ http://jira.codehaus.org/browse/XFIRE-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87440 ]
Klaas Prause commented on XFIRE-831: ------------------------------------ I have the same error (StackOverflow) when I am using a Map<String, Object> where the values can be collections of Map<String, Object>, for transfering something like: <name> <first>Firstname</first> <last>Lastname</last> </name> <key>akey</key> I think this error prevents the embedding of Maps or Collections into any Map or Collection with a value of Object (AnyType). Is there a workaround for this error? > java.lang.StackOverflowError when passing Object[] > --------------------------------------------------- > > Key: XFIRE-831 > URL: http://jira.codehaus.org/browse/XFIRE-831 > Project: XFire > Issue Type: Bug > Components: Aegis Module > Affects Versions: 1.2.4 > Reporter: Karthikeyan M. > Assigned To: Dan Diephouse > > ========soap request================ > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Body> > <objectArrayTest xmlns="http://abc.com/V1"> > <params> > <xsd:anyType>1</xsd:anyType> > <xsd:anyType>2</xsd:anyType> > </params> > </objectArrayTest> > </soapenv:Body> > </soapenv:Envelope> > > ===========wsdl snippet======== > <xsd:element name="objectArrayTest"> > <xsd:complexType> > <xsd:sequence> > <xsd:element maxOccurs="1" minOccurs="1" name="params" > nillable="true" type="xsd:ArrayOfAnyType"/> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > <xsd:complexType name="ArrayOfAnyType"> > <xsd:sequence> > <xsd:element maxOccurs="unbounded" minOccurs="0" name="anyType" > nillable="true" type="xsd:anyType"/> > </xsd:sequence> > </xsd:complexType> > ==================java.lang.StackOverflowError================ > java.lang.StackOverflowError > > com.ctc.wstx.sr.NsAttributeCollector.getValue(NsAttributeCollector.java:293) > > com.ctc.wstx.sr.WstxStreamReader.getAttributeValue(WstxStreamReader.java:534) > > org.codehaus.xfire.util.stax.DepthXMLStreamReader.getAttributeValue(DepthXMLStreamReader.java:75) > > org.codehaus.xfire.util.stax.DepthXMLStreamReader.getAttributeValue(DepthXMLStreamReader.java:75) > > org.codehaus.xfire.aegis.stax.ElementReader.getAttributeReader(ElementReader.java:251) > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:70) > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133) > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133) > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133) > ....... > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133) > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133) > > org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133) > =============xfire code======= > org.codehaus.xfire.aegis.type.basic.ObjectType: > 110: type = tm.getType( typeQName ); > <code>type</code> here always returns the same instance causing the recursion > to stackoverflow. -- 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 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email