I've seen StackOverflow errors in the past when I've had collections in toString, equals or hashCode methods. You might want to remove any collections from these methods.
Matt On Nov 11, 2007 5:18 AM, <[EMAIL PROTECTED]> wrote: > On 10/20/07, Daniel Kibler <[EMAIL PROTECTED]> wrote: > > > > OK. I found that there are two entries in web.xml for the lazyLoadingFilter. > > After uncommenting the second, the lazy loading is working. > > > > Matt, > > After uncommenting lazyLoadingFilter in web.xml, my Web service hit another > error as below. But this not occured with appfuse UserService, just > with my other web service. > Any idea what might cause this ? > > Thanks, > > WARN: /services/CityService > java.lang.StackOverflowError > at > com.ctc.wstx.sw.BaseNsStreamWriter.closeStartElement(BaseNsStreamWriter.java:387) > at > com.ctc.wstx.sw.BaseNsStreamWriter.checkStartElement(BaseNsStreamWriter.java:436) > at > com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamWriter.java:257) > at > com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWriter.java:318) > at > org.codehaus.xfire.aegis.stax.ElementWriter.writeStartElement(ElementWriter.java:116) > at > org.codehaus.xfire.aegis.stax.ElementWriter.<init>(ElementWriter.java:61) > at > org.codehaus.xfire.aegis.stax.ElementWriter.getElementWriter(ElementWriter.java:161) > at > org.codehaus.xfire.aegis.type.basic.BeanType.getWriter(BeanType.java:421) > at > org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:386) > at > org.codehaus.xfire.aegis.type.basic.BeanType.writeObject(BeanType.java:392) > at > org.codehaus.xfire.aegis.type.basic.ArrayType.writeValue(ArrayType.java:298) > at > org.codehaus.xfire.aegis.type.collection.CollectionType.writeObject(CollectionType.java:103) > > -- > Ernas M. Jamil > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
