Re: Concurrency Issue
Re: Concurrency Issue
- Subject: Re: Concurrency Issue
- From: Andrew Lindesay <email@hidden>
- Date: Wed, 7 Apr 2010 23:24:30 +1200
(Mike - 20hrs ago)
> random wo tip: iterating keys on NSDictionary = copy, iterating keys on HashMap = no copy. if you change dict=>map, beware ConcurrentModExc
^^^ What a co-incidence... probably related issue. I guess there's no easy fix for this other than lodging a radar.
> I thought I'd ask if anybody else has had any experience with this one?
>
>> java.util.ConcurrentModificationException
>> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
>> at java.util.HashMap$KeyIterator.next(HashMap.java:828)
>> at com.webobjects.foundation.NSDictionary.<init>(NSDictionary.java:369)
>> at com.webobjects.foundation.NSDictionary.<init>(NSDictionary.java:397)
>> at com.webobjects.eocontrol.EOObjectStore.userInfo(EOObjectStore.java:347)
>> at com.webobjects.eoaccess.EOModelGroup.modelGroupForObjectStoreCoordinator(EOModelGroup.java:795)
>> at com.webobjects.eoaccess.EOUtilities.modelGroup(EOUtilities.java:1045)
>> at com.webobjects.eoaccess.EOUtilities.databaseContextForModelNamed(EOUtilities.java:809)
___
Andrew Lindesay
www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden