• 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: <Finalizer> Exception occurred while finalizing EOEditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <Finalizer> Exception occurred while finalizing EOEditingContext


  • Subject: Re: <Finalizer> Exception occurred while finalizing EOEditingContext
  • From: Lachlan Deck <email@hidden>
  • Date: Sun, 28 Jun 2009 21:39:18 +1000

On 28/06/2009, at 9:19 PM, Gennady Kushnir wrote:

Should I also lock editing context if I do not make any changes in it,
just reading?

Yes.

Think about it: readers need to lock just like writers lock otherwise readers would never be isolated from writers. Also you're ec will access the same db via the same db context at some point...

Anyway - the rules of engagement with ecs is you must lock/unlock. No exceptions. You can, however, make this easier by using Wonder which can lock/unlock automatically for you for request/response loops etc

2009/6/28 Dov Rosenberg <email@hidden>:
If you use an editingcontext in a thread you should manually lock/ unlock it,
otherwise you can see these kinds of errors.


Dov


On 6/27/09 7:02 AM, "Gennady Kushnir" <email@hidden> wrote:

Hello list.
My applications console log displays this error (multiple times) when
performing a scheduled task (not in RR loop)
[2009-6-27 14:53:30 MSD] <Finalizer> Exception occurred while
finalizing EOEditingContext #13941350 :null


In fact everything works fine, but I think this error should be dealt
with though
What does this mean and how can I get additional details for debugging
this problem - this console message is the only output I get on
this...
_______________________________________________
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


_______________________________________________
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

with regards, --

Lachlan Deck



_______________________________________________
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


References: 
 ><Finalizer> Exception occurred while finalizing EOEditingContext (From: Gennady Kushnir <email@hidden>)
 >Re: <Finalizer> Exception occurred while finalizing EOEditingContext (From: Dov Rosenberg <email@hidden>)
 >Re: <Finalizer> Exception occurred while finalizing EOEditingContext (From: Gennady Kushnir <email@hidden>)

  • Prev by Date: Re: <Finalizer> Exception occurred while finalizing EOEditingContext
  • Next by Date: Re: <Finalizer> Exception occurred while finalizing EOEditingContext
  • Previous by thread: Re: <Finalizer> Exception occurred while finalizing EOEditingContext
  • Next by thread: Re: <Finalizer> Exception occurred while finalizing EOEditingContext
  • Index(es):
    • Date
    • Thread