Re: <Finalizer> Exception occurred while finalizing EOEditingContext
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