ConcurrentModificationException - ?

From: Matt Kerr (mat..entralparksoftware.com)
Date: Sun Jun 13 2004 - 15:33:44 EDT

  • Next message: Andrus Adamchik: "Re: ConcurrentModificationException - ?"

    i have a code path which "used to work".
    and now i'm receiving the vague ConcurrentModificationException
    (stack trace below)

    i think i've triple checked those entities in my model,
    and have stared at the generate sql.
    i emptied the table, so i really confused what the snag is-
    i'm only trying to save a handful of objects.

    i see this reference post ...
        
    http://www.objectstyle.org/cayenne/lists/cayenne-user/2003/11/0028.html

    i'm running OSX 10.3.4 w/mysql 4.0.16-standard, and cayenne 1.1M6
    is that relevant?

    any suggestions greatly appreciated.
    thanks,
    matt

    ~~~
    java.util.ConcurrentModificationException
    Stack Trace:
    * java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
    * java.util.HashMap$ValueIterator.next(HashMap.java:812)
    *
    org.objectstyle.cayenne.access.ObjectStore.validateUncommittedObjects(Ob
    jectStore.java:856)
    *
    org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.jav
    a:1211)
    *
    org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.jav
    a:1187)
    *
    com.sophora.processing.pages.MoreTasksMenu.updateMonthlyActivityAction(M
    oreTasksMenu.java:126)
    8<



    This archive was generated by hypermail 2.0.0 : Sun Jun 13 2004 - 15:35:17 EDT