cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: cxf aegis stackoverflowerror
Date Fri, 29 Apr 2011 14:35:26 GMT
On Friday, April 29, 2011 10:25:53 AM mpiksjo wrote:
> Am getting the following exception at the client side. am using cxf 2.3.0
> and aegis for data binding.
> Could i be having a circular reference in my pojo code? please help me.
> 
> 
> soap envelope received at client is incomplete as shown

If the soap-envelope is incomplete or not xml compliant, all kinds of wacky 
errors could be occurring.    In this case, I would have expected the XML 
parser to throw and exception or similar.   You may want to check for a newer 
version of woodstox or similar.

Dan


> 
> soap envelope
> =======================
> 
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:getU
> sersResponse
> xmlns:ns1="http://service.cxf.server.openxdata.org/"><return><ns2:User
> xmlns:ns2="http://model.admin.cxf.server.openxdata.org"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ns2:User"><ns2:changedBy xsi:nil="true"/><ns2:creato
> 
> exception
> ===============
> 
> Exception in thread "main" java.lang.StackOverflowError
> 	at java.util.Arrays.fill(Arrays.java:2465)
> 	at
> com.ctc.wstx.sr.NsAttributeCollector.resolveNamespaces(NsAttributeCollector
> .java:219) at
> com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElemen
> tStack.java:351) at
> com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:29
> 23) at
> com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2783)
> 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1048)
> 	at
> org.apache.cxf.staxutils.DepthXMLStreamReader.next(DepthXMLStreamReader.jav
> a:220) at
> org.apache.cxf.aegis.xml.stax.ElementReader.checkHasMoreChildReaders(Elemen
> tReader.java:185) at
> org.apache.cxf.aegis.xml.stax.ElementReader.hasMoreElementReaders(ElementRe
> ader.java:145) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:154) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173) at
> org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:173)--
> View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-aegis-stackoverflowerror-tp4358799p435
> 8799.html Sent from the cxf-issues mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Mime
View raw message