• 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: Unable to release locks held by deallocated EOEditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to release locks held by deallocated EOEditingContext


  • Subject: Re: Unable to release locks held by deallocated EOEditingContext
  • From: Art Isbell <email@hidden>
  • Date: Fri, 25 Jul 2008 16:59:22 -1000

On Jul 25, 2008, at 4:41 PM, Joe Moreno wrote:

I'm not quite sure what is causing these exceptions which I cannot consistently reproduce.

[2008-07-22 14:47:10 PDT] <Finalizer> Unable to release locks held by a deallocated EOEditingContext.
[2008-07-22 14:47:10 PDT] <Finalizer> java.lang.IllegalStateException: Illegal Lock usage: unlocking thread not owner.

The Finalizer thread is trying to unlock an EOEditingContext that a different thread locked which is not allowed. So your code is not unlocking an EOEditingContext that it locked. Look for unbalanced lock()/unlock() pairs.


If you're attempting to manage EOEditingContext locking manually, you might want to consider using MultiECLockManager (source available by searching Google) to manage EOEditingContext locking for you automatically and flawlessly.

Aloha,
Art

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Unable to release locks held by deallocated EOEditingContext
      • From: Joe Moreno <email@hidden>
References: 
 >OpenbasePKPlugin: NEWID FOR null ID (From: Shelley Eitzen <email@hidden>)
 >Unable to release locks held by deallocated EOEditingContext (From: Joe Moreno <email@hidden>)

  • Prev by Date: Unable to release locks held by deallocated EOEditingContext
  • Next by Date: Re: generics fun
  • Previous by thread: Unable to release locks held by deallocated EOEditingContext
  • Next by thread: Re: Unable to release locks held by deallocated EOEditingContext
  • Index(es):
    • Date
    • Thread