Re: Help me get unstuck with this error: unable to increment snapshot count for object with global ID
Re: Help me get unstuck with this error: unable to increment snapshot count for object with global ID
- Subject: Re: Help me get unstuck with this error: unable to increment snapshot count for object with global ID
- From: Chuck Hill <email@hidden>
- Date: Mon, 27 Jul 2009 19:38:38 -0700
My first guesses are:
1. Not locking all ECs properly
2. Violating an EOF commandment
3. Using the EOSharedEditingContext incorrectly
Chuck
On Jul 27, 2009, at 6:31 PM, Amiel Montecillo wrote:
Can someone help me out on this error please. Maybe some ideas
what's causing this to happen. It is an intermittent error I get
which I stuck pondering what is causing it. I have search the lists
and found some relevant information but I can't quite put my fingers
on it as I am new to WO.
I am using WO 5.4.3 with the latest wonder source. and I get this
error sometimes.
incrementSnapshotCountForGlobalID: er.extensions.eof.ERXDatabase
er.extensions.eof.ERXDatabase@64d42f -- is unable to increment
snapshot count for object with global ID
_EOIntegralKeyGlobalID[State (java.lang.Long)72] - no snapshot exists
java.lang.IllegalStateException: incrementSnapshotCountForGlobalID:
er.extensions.eof.ERXDatabase er.extensions.eof.ERXDatabase@64d42f
-- is unable to increment snapshot count for object with global ID
_EOIntegralKeyGlobalID[State (java.lang.Long)72] - no snapshot exists
at
com
.webobjects
.eoaccess
.EODatabase.incrementSnapshotCountForGlobalID(EODatabase.java:1062)
at
er
.extensions
.eof.ERXDatabase.incrementSnapshotCountForGlobalID(ERXDatabase.java:
180)
at
com.webobjects.eoaccess.EODatabase.setResultCache(EODatabase.java:389)
at er.extensions.eof.ERXDatabase.setResultCache(ERXDatabase.java:220)
at
com
.webobjects
.eoaccess
.EODatabaseContext
._populateCacheForFetchSpecificationEditingContext
(EODatabaseContext.java:2333)
at
com
.webobjects
.eoaccess
.EODatabaseContext
._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:
3042)
at
er
.extensions
.eof
.ERXDatabaseContext
._objectsWithFetchSpecificationEditingContext
(ERXDatabaseContext.java:57)
at
com
.webobjects
.eoaccess
.EODatabaseContext
.objectsWithFetchSpecification(EODatabaseContext.java:3195)
at
com
.webobjects
.eocontrol
.EOObjectStoreCoordinator
.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
at
com
.webobjects
.eocontrol
.EOEditingContext
.objectsWithFetchSpecification(EOEditingContext.java:4069)
at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:
1114)
at
com
.webobjects
.eocontrol
.EOEditingContext
.objectsWithFetchSpecification(EOEditingContext.java:4444)
at
er
.extensions
.eof.ERXFetchSpecification.fetchObjects(ERXFetchSpecification.java:
106)
at com.ods.wo.bids.db.State.fetchAllStatesOrdered(State.java:40)
at
com
.ods
.wo
.bids
.app
.bidentry
.components
.entities.EntitiesSearch.getPossibleStates(EntitiesSearch.java:112)
at sun.reflect.GeneratedMethodAccessor246.invoke(Unknown Source)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor
$1.methodValue(NSKeyValueCoding.java:636)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:
1736)
at com.webobjects.foundation.NSKeyValueCoding
$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$
DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:
212)
at
com
.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:
1804)
at
com.ods.wo.components.ODSComponent.valueForKeyPath(ODSComponent.java:
206)
at
com
.webobjects
.appserver
._private
.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at
er
.extensions
.components
._private.ERXWOBrowser.appendChildrenToResponse(ERXWOBrowser.java:223)
at
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement.appendToResponse(WOHTMLDynamicElement.java:447)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at er.ajax.AjaxObserveField.appendToResponse(AjaxObserveField.java:
110)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
er
.extensions
.components
._private.ERXWOForm.appendChildrenToResponse(ERXWOForm.java:280)
at
er
.extensions
.components._private.ERXWOForm.appendToResponse(ERXWOForm.java:442)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
er
.extensions
.components
.conditionals.ERXWOTemplate.appendToResponse(ERXWOTemplate.java:55)
at
er
.extensions
.components
.ERXWOComponentContent.appendToResponse(ERXWOComponentContent.java:
230)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
er
.extensions
.components
.conditionals.ERXWOTemplate.appendToResponse(ERXWOTemplate.java:55)
at
er
.extensions
.components
.ERXWOComponentContent.appendToResponse(ERXWOComponentContent.java:
230)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
er
.extensions
.components
.conditionals.ERXWOTemplate.appendToResponse(ERXWOTemplate.java:55)
at
er
.extensions
.components
.ERXWOComponentContent.appendToResponse(ERXWOComponentContent.java:
230)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1122)
at
er
.extensions
.components.ERXComponent.appendToResponse(ERXComponent.java:107)
at
er
.extensions
.components
.ERXNonSynchronizingComponent
.appendToResponse(ERXNonSynchronizingComponent.java:73)
at
com
.webobjects
.appserver
._private
.WOComponentReference.appendToResponse(WOComponentReference.java:135)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1122)
at
er
.extensions
.components.ERXComponent.appendToResponse(ERXComponent.java:107)
at
com
.webobjects
.appserver
._private
.WOComponentReference.appendToResponse(WOComponentReference.java:135)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1122)
at
er
.extensions
.components.ERXComponent.appendToResponse(ERXComponent.java:107)
at
com
.webobjects
.appserver
._private
.WOComponentReference.appendToResponse(WOComponentReference.java:135)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1122)
at
er
.extensions
.components.ERXComponent.appendToResponse(ERXComponent.java:107)
at
com
.ods.wo.components.ODSComponent.appendToResponse(ODSComponent.java:
218)
at
com
.ods
.wo
.bids.components.BidsComponent.appendToResponse(BidsComponent.java:62)
at
com
.ods
.wo
.bids
.components
.BidsSecureComponent.appendToResponse(BidsSecureComponent.java:57)
at
com
.ods
.wo
.bids
.app
.bidentry
.components
.entities.EntitiesSearch.appendToResponse(EntitiesSearch.java:90)
at
com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:
1385)
at
er.extensions.appserver.ERXSession.appendToResponse(ERXSession.java:
540)
at
com
.webobjects
.appserver.WOApplication.appendToResponse(WOApplication.java:1794)
at
er
.extensions
.appserver.ERXApplication.appendToResponse(ERXApplication.java:1693)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:445)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1791)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1756)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com
.webobjects
.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)
I'd really appreciate the help.
Thanks,
Amiel
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east
http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars
_______________________________________________
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