cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mpango Jonathan <mpik...@yahoo.com>
Subject Re: cxf aegis stackoverflowerror
Date Fri, 29 Apr 2011 14:42:16 GMT
if its a circular reference issue how can i go about it?




Benson Margulies <bimargulies@...> writes:

> 
> A circular reference would be the easiest  explanation of this, yes
> 
> On Fri, Apr 29, 2011 at 10:25 AM, mpiksjo <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
> >
> > soap envelope
> > =======================
> >
> > <soap:Envelope
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>
<ns1:getUsersResponse
> > 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(NsInputElementStac
k.java:351)
> >        at
> > 
com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2923)
> >        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.java:220
)
> >        at
> > 
org.apache.cxf.aegis.xml.stax.ElementReader.checkHasMoreChildReaders(ElementRead
er.java:185)
> >        at
> > 
org.apache.cxf.aegis.xml.stax.ElementReader.hasMoreElementReaders(ElementReader.
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-tp4358799p4358799.html
> > Sent from the cxf-issues mailing list archive at Nabble.com.
> >
> 
> 





Mime
View raw message