Re: ConcurrentModificationExceptio on commit

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Nov 04 2009 - 03:09:20 EST

  • Next message: Daniel Toffetti: "Code Generation for Stored Procedures"

    Don't remember seeing this error.

    Can you reproduce it consistently in a single user environment, or is
    this something that happens under load with many users accessing the
    app?

    Andrus

    On Nov 3, 2009, at 5:59 PM, Tobias Schoessler wrote:
    > Hi,
    >
    > I am getting this exception when committing.
    >
    >
    > java.util.ConcurrentModificationException
    > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
    > at java.util.HashMap$EntryIterator.next(HashMap.java:834)
    > at java.util.HashMap$EntryIterator.next(HashMap.java:832)
    > at
    > org
    > .objectstyle
    > .cayenne.access.ObjectStore.postprocessAfterCommit(ObjectStore.java:
    > 575)
    >
    > at
    > org
    > .objectstyle
    > .cayenne.access.DataContext.flushToParent(DataContext.java:1263)
    >
    > at
    > org
    > .objectstyle
    > .cayenne.access.DataContext.commitChanges(DataContext.java:1166)
    >
    > ...
    >
    > I am using cayenne 1.2.3. I am a bit clueless where to look for as the
    > Exception is thrown obviously after the commit succeeds.
    >
    > thanks
    >
    > best regards



    This archive was generated by hypermail 2.0.0 : Wed Nov 04 2009 - 03:10:00 EST