Unable to decrement snapshot count ....count is already 0 or does not exist
Unable to decrement snapshot count ....count is already 0 or does not exist
- Subject: Unable to decrement snapshot count ....count is already 0 or does not exist
- From: Owen McKerrow <email@hidden>
- Date: Thu, 24 Apr 2008 09:16:43 +1000
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.
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.editingContextDidForgetObjectW
ithGlobalID(EODatabaseContext.java:3752) at
com.webobjects.eocontrol.EOObjectStoreCoordinator.editingContextDidForge
tObjectWithGlobalID(EOObjectStoreCoordinator.java:665) at
com.webobjects.eocontrol.EOEditingContext.editingContextDidForgetObjectW
ithGlobalID(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.editingContextDidForgetObjectW
ithGlobalID(EOEditingContext.java:3923) at
com.webobjects.eocontrol.EOEditingContext.editingContextDidForgetObjectW
ithGlobalID(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._globalIDsChangedInSub
Store(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.saveChangesInEditingCo
ntext(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