FYI, you can also get this when using Oracle if your transaction crosses an extent boundary (something like that, I don't remember exactly) and you're using serialized transactions.
--mikej -=------ mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Lorenz Froihofer [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 06, 2004 9:03 AM > To: [EMAIL PROTECTED] > Subject: ConcurrentModificationException resolved > > > Hi, > > I'm sorry, but it seems like it was my own fault. It's gone > now. The reason was likely a separate user interface task of > the Java swing > implementation that I did not recognize. > > -- Lorenz. > > -------- Original Message -------- > Subject: ConcurrentModificationException > Date: Thu, 06 May 2004 16:19:51 +0200 > From: Lorenz Froihofer <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > Hi, > > I'm using ojb 1.0rc6 and have an entity that contains a list > of other entities. For this list of other entities I use > proxy="true" in the repository <collection-descriptor>. > > Now if I try to access the list of entities for instance by > trying to get an iterator, I get a ConcurrentModificationException. > > Does anyone experience the same behaviour? Stacktrace follows: > > ---------------------------------------------------- > java.util.ConcurrentModificationException > at > java.util.SubList.checkForComodification(AbstractList.java:854) > at java.util.SubList.listIterator(AbstractList.java:784) > at java.util.AbstractList.listIterator(AbstractList.java:348) > at java.util.SubList.iterator(AbstractList.java:780) > at > org.apache.ojb.broker.accesslayer.CollectionPrefetcher.associa > teBatched(CollectionPrefetcher.java:135) > at > org.apache.ojb.broker.accesslayer.BasePrefetcher.prefetchRelat > ionship(BasePrefetcher.java:111) > at > org.apache.ojb.broker.core.QueryReferenceBroker$PBPrefetchingL > istener.prefetch(QueryReferenceBroker.java:798) > at > org.apache.ojb.broker.core.QueryReferenceBroker$PBCollectionPr > oxyListener.beforeLoading(QueryReferenceBroker.java:855) > at > org.apache.ojb.broker.accesslayer.CollectionProxy.beforeLoadin > g(CollectionProxy.java:134) > at > org.apache.ojb.broker.accesslayer.CollectionProxy.getData(Coll > ectionProxy.java:361) > at > org.apache.ojb.broker.accesslayer.ListProxy.getListData(ListPr > oxy.java:140) > at > org.apache.ojb.broker.accesslayer.ListProxy.get(ListProxy.java:71) > ... > -------------------------------------------------------- > > -- Lorenz. > > > --------------------------------------------------------------------- > 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]