• 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
another weird EOF exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another weird EOF exception


  • Subject: another weird EOF exception
  • From: Jonathan Rochkind <email@hidden>
  • Date: Wed, 23 Jul 2003 14:05:18 -0500

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.

  • Prev by Date: Re: Local ECs (was Re: Can't modify EO objects! ARGH! =()
  • Next by Date: Re: Local ECs (was Re: Can't modify EO objects! ARGH! =()
  • Previous by thread: Re: So Weird EOF exception
  • Next by thread: Re: another weird EOF exception
  • Index(es):
    • Date
    • Thread