Hi Pasi, I don't recall the exact details of the fix, but the problem was caused by a multi-threaded application using the XML Bean object in more than one thread. The fix was in my own code, not in XML Beans itself.
- Steve -----Original Message----- From: Pasi [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 7:07 AM To: [email protected] Subject: Re: ArrayIndexOutOfBoundsException Hi Steve! I believe I have encountered the same problem. Local.java and Cur.java might have some threading problems (this might explain why the exception seem to occur quite irregulary). Did you manage to find any solution to this problem? -Pasi Steve Davis wrote: > > I am seeing the following exception from time to time when testing an > application using XML Beans 2.0.0. It only happens rarely and is > difficult to reproduce. > > Is this a known problem? > > Exception occurred: java.lang.ArrayIndexOutOfBoundsException: -1 at > org.apache.xmlbeans.impl.store.Locale.exit(Locale.java:2840) > at org.apache.xmlbeans.impl.store.Xobj.array_setter(Xobj.java:2320) > at > org.apache.xmlbeans.impl.values.XmlComplexContentImpl.arraySetterHelpe > r( > XmlComplexContentImpl.java:1055) > > > -- View this message in context: http://www.nabble.com/ArrayIndexOutOfBoundsException-tf2124202.html#a102 51697 Sent from the Xml Beans - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

