• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Concurrency Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Concurrency Issue
      • From: Mike Schrag <email@hidden>
References: 
 >Concurrency Issue (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Concurrency Issue
  • Next by Date: Re: Concurrency Issue
  • Previous by thread: Concurrency Issue
  • Next by thread: Re: Concurrency Issue
  • Index(es):
    • Date
    • Thread