• 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: Unable to decrement snapshot count ....count is already 0 or does not exist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to decrement snapshot count ....count is already 0 or does not exist


  • Subject: Re: Unable to decrement snapshot count ....count is already 0 or does not exist
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 24 Apr 2008 16:27:12 -0700

Hi Owen,

On Apr 23, 2008, at 4:16 PM, Owen McKerrow wrote:
Hi All,

One of our apps when down yesterday and on trawling through the log files I found 8 instances of the error : is unable to decrement snapshot count for object with global ID _EOIntegralKeyGlobalID[PublicationKeyword (java.lang.Long)151400] - count is already 0 or this snapshot doesn't exist ( see full stack trace below ). All appear to have come from the same saveChanges() call. Also note each time it occurred it was for a separate object.

Each of the objects had been created about 13 minutes before the errors e.g.

2008,04.23 15: :56,420 "INSERT INTO PUB_KEYWORD(pub_keyword, KEYWORD, pub) VALUES (?, ?, ?)" withBindings: 1:151400(publicationKeyWordID), 2:"proteins"(keyword), 3:23092(publicationID)>

Anyone have any suggestions as to what may have caused this ? i.e. what sort of things I should be looking for in the code. The app has been running for almost 2 years now and this is the first time we've had this problem ( in fact its the first time I have seen it in 10 years of WO development ).

As always all comments/questions/feedback welcome.


No specific suggestions. Are you synchronizing EOs across instances? Are you using multiple EOF stacks within one instance? Improper locking might cause this. Running out of memory could too. Nothing else comes to mind other than some sort of horrible EOF abuse like trying to use a disposed EC. I don't know if that would cause this, but maybe something like that. I _have_ seen this before, but not recently.

Chuck



Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

People who prefer typing to pointing then seem to prefer acronyms to save typing :-)
-Denis Stanton, On people using Command Line Interfaces



decrementSnapshotCountForGlobalID: com.webobjects.eoaccess.EODatabase com.webobjects.eoaccess.EODatabase@1b94ea2 -- is unable to decrement snapshot count for object with global ID _EOIntegralKeyGlobalID[PublicationKeyword (java.lang.Long)151400] - count is already 0 or this snapshot doesn't exist


2008,04.23 15:43:37,825 DEBUG [http-8968-Processor2] (Log.NSLogDebug: 1546 appendln) - java.lang.RuntimeException: Unable to decrement snapshot count for object with global ID _EOIntegralKeyGlobalID[PublicationKeyword (java.lang.Long)151400] - count is already 0 or this snapshot doesn't exist at com .webobjects .eoaccess .EODatabase.decrementSnapshotCountForGlobalID(EODatabase.java:1150) at com .webobjects .eoaccess .EODatabaseContext .editingContextDidForgetObjectWithGlobalID(EODatabaseContext.java: 3752) at com .webobjects .eocontrol .EOObjectStoreCoordinator .editingContextDidForgetObjectWithGlobalID (EOObjectStoreCoordinator.java:665) at com .webobjects .eocontrol .EOEditingContext .editingContextDidForgetObjectWithGlobalID(EOEditingContext.java: 3921) at com .webobjects .eocontrol .EOEditingContext._processReferenceQueue(EOEditingContext.java:4833) at com .webobjects .eocontrol.EOEditingContext.unlockObjectStore(EOEditingContext.java: 4751) at com .webobjects .eocontrol .EOEditingContext .editingContextDidForgetObjectWithGlobalID(EOEditingContext.java: 3923) at com .webobjects .eocontrol .EOEditingContext .editingContextDidForgetObjectWithGlobalID(EOEditingContext.java: 3921) at com .webobjects .eocontrol .EOEditingContext._processReferenceQueue(EOEditingContext.java:4833) at com .webobjects .eocontrol .EOEditingContext._sendOrEnqueueNotification(EOEditingContext.java: 4786) at com .webobjects .eocontrol.EOEditingContext._globalIDChanged(EOEditingContext.java: 2024) at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com .webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java: 120) at com.webobjects.foundation.NSNotificationCenter $_Entry.invokeMethod(NSNotificationCenter.java:601) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java: 545) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java: 575) at com .webobjects .eocontrol .EOEditingContext._processGlobalIDChanges(EOEditingContext.java: 2020) at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354) at com .webobjects .foundation.NSSelector._safeInvokeSelector(NSSelector.java:108) at com .webobjects .eocontrol .EOEditingContext._sendOrEnqueueNotification(EOEditingContext.java: 4784) at com .webobjects .eocontrol.EOEditingContext._globalIDChanged(EOEditingContext.java: 2024) at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com .webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java: 120) at com.webobjects.foundation.NSNotificationCenter $_Entry.invokeMethod(NSNotificationCenter.java:601) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java: 545) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java: 575) at com .webobjects .eocontrol .EOObjectStoreCoordinator ._globalIDsChangedInSubStore(EOObjectStoreCoordinator.java:749) at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com .webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java: 120) at com.webobjects.foundation.NSNotificationCenter $_Entry.invokeMethod(NSNotificationCenter.java:601) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java: 545) at com .webobjects .foundation .NSNotificationCenter.postNotification(NSNotificationCenter.java: 575) at com .webobjects .eoaccess.EODatabaseContext.commitChanges(EODatabaseContext.java: 6544) at com .webobjects .eocontrol .EOObjectStoreCoordinator .saveChangesInEditingContext(EOObjectStoreCoordinator.java:425) at com .webobjects .eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3226) at edu .uow .ris .framework .SelfCleaningEditingContext .saveChanges(SelfCleaningEditingContext.java:44) at edu .uow .ris .framework .CooperatingEditingContext .saveChanges(CooperatingEditingContext.java:223) at edu .uow .ris .framework .CooperatingEditingContext .saveChanges(CooperatingEditingContext.java:247) at RISPageComponent.save(RISPageComponent.java:115) at PublicationDetails.savePublication(PublicationDetails.java:1541) at PublicationDetails.saveChanges(PublicationDetails.java:169) at sun.reflect.GeneratedMethodAccessor1139.invoke(Unknown Source) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)






_______________________________________________ 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


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: Unable to decrement snapshot count ....count is already 0 or does not exist
      • From: Owen McKerrow <email@hidden>
References: 
 >Unable to decrement snapshot count ....count is already 0 or does not exist (From: Owen McKerrow <email@hidden>)

  • Prev by Date: Re: WOGenericContainer convert elementName to lowercase automatically
  • Next by Date: Re: Digester and EOs [SOLVED]
  • Previous by thread: Unable to decrement snapshot count ....count is already 0 or does not exist
  • Next by thread: Re: Unable to decrement snapshot count ....count is already 0 or does not exist
  • Index(es):
    • Date
    • Thread