Re: another weird EOF exception
Re: another weird EOF exception
- Subject: Re: another weird EOF exception
- From: Chuck Hill <email@hidden>
- Date: Thu, 24 Jul 2003 18:49:16 -0700
Some previous postings on this:
http://www.omnigroup.com/mailman/archive/webobjects-dev/2002-November/029485
.html
http://www.omnigroup.com/mailman/archive/webobjects-dev/2003-January/030402.
html
http://www.omnigroup.com/mailman/archive/webobjects-dev/2003-April/033000.html
FWIW
Chuck
At 02:05 PM 23/07/2003 -0500, Jonathan Rochkind wrote:
>At this point, I believe I am succesfully locking all my ECs before using
>them. I had hoped that would mean a variety of unexplainably bizarre EOF
>errors in my logs would disappear. Alas, that does not seem to be the case.
>
>Here's an especially weird one. It seems to be raised when a new session
>tries to saveChanges() to a 'peer' EC it has (one created with simply 'new
>EOEditingContext()'). The operation in the stack trace is only performed
>for a very new session---at this point, a fetch to
>session().defaultEditingContext() has probably occured, but little other
>EOF activity.
>
>It is not reproducible, although it does occur with some frequency in my
>logs. If anyone can shed any light on it at all, that would be helpful.
>
>NullPointerException
>[null message]
>
>EOEditingContext.java 2545 _eoForGID com.webobjects.eocontrol
>EOEditingContext.java 3802 editingContextDidForgetObjectWithGlobalID
>EOEditingContext.java 3821 editingContextDidForgetObjectWithGlobalID
>EOEditingContext.java 4697 _processReferenceQueue
>EOEditingContext.java 4579 lock
>EOEditingContext.java 4590 tryLock
>EOEditingContext.java 4640 _sendOrEnqueueNotification
>EOEditingContext.java 1932 _globalIDChanged
>Method.java NA invoke
>NSSelector.java 120 _safeInvokeMethod
>NSNotificationCenter.java 598 invokeMethod
>NSNotificationCenter.java 542 postNotification
>NSNotificationCenter.java 572 postNotification
>EODatabaseContext.java 6470 commitChanges
>EOObjectStoreCoordinator.java 421 saveChangesInEditingContext
>EOEditingContext.java 3130 saveChanges
>
>[EOF stack trace ends, this was the line called by my own code].
>
>SessionLogManager.java 43 personLoggedIn SessionLogManager
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.