• 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
EODatabaseContext.initializeObject(): No snapshot for gid
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EODatabaseContext.initializeObject(): No snapshot for gid


  • Subject: EODatabaseContext.initializeObject(): No snapshot for gid
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 04 Aug 2016 17:13:49 +0930

Hello,

I’m seeing very occasional stack traces from the wild that look like this:

java.lang.IllegalStateException: initializeObject: No snapshot for gid _EOIntegralKeyGlobalID[Teacher (java.lang.Integer)317]
	at com.webobjects.eoaccess.EODatabaseContext.initializeObject(EODatabaseContext.java:3578)
	at com.webobjects.eocontrol.EOObjectStoreCoordinator.initializeObject(EOObjectStoreCoordinator.java:597)
	at com.webobjects.eocontrol.EOEditingContext.initializeObject(EOEditingContext.java:3768)
	at er.extensions.eof.ERXEC.initializeObject(ERXEC.java:1231)
	at com.webobjects.eoaccess.EODatabaseContext._fireFault(EODatabaseContext.java:4124)
	at com.webobjects.eoaccess.EOAccessFaultHandler.completeInitializationOfObject(EOAccessFaultHandler.java:89)
	at com.webobjects.eocontrol.EOCustomObject.willRead(EOCustomObject.java:1172)
	at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_GenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:570)
	at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:613)
	at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
…

This is from a sub-component on a page. The sub-component has a Teacher object (with id=317 in this case) bound to it. The PreviousPageList accompanying the exception suggests the user has already loaded this page a couple of times. Yet this time, it’s looking for, and then doesn’t find, that object in the snapshot cache. There’s nothing relevant prior to this event in the logs. This has happened more than once, but only at this specific sub-component, which is unique to this page. ERJGroupsSynchronizer.framework is in use. I cannot reproduce it in development—don’t even know where to start.

Any suggestions?


--
Paul Hoadley
http://logicsquad.net/




 _______________________________________________
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: EODatabaseContext.initializeObject(): No snapshot for gid
      • From: Musall Maik <email@hidden>
  • Prev by Date: Re: webobjects with maven
  • Next by Date: Re: WOWODC slides/videos
  • Previous by thread: Re: webobjects with maven
  • Next by thread: Re: EODatabaseContext.initializeObject(): No snapshot for gid
  • Index(es):
    • Date
    • Thread