Strange problems when saving in WO5.2
Strange problems when saving in WO5.2
- Subject: Strange problems when saving in WO5.2
- From: Kaj Hejer <email@hidden>
- Date: Wed, 8 Jan 2003 09:21:31 +0100
Hi!
We have ported one of my applications from WO5.1 to WO5.2. In the new project
I've got a strange exception (see below) a couple of times when saving. I
have never seen this before, and I don't exactly know what causes it.
Can anyone give me a hint of what the problem can be, and maybe tell me how
I can fix it?
Thanks in advance!!
EXCEPTION:
prepareForSaveWithCoordinator:
com.webobjects.eoaccess.EODatabaseContext@6c6b00 is currently saving for
com.webobjects.eocontrol.EOEditingContext@33a5a0 so it cannot prepare to
save for com.webobjects.eocontrol.EOEditingContext@4e4a8a.
com.webobjects.eocontrol.EOObjectStoreCoordinator@562270 has sources
(com.webobjects.eoaccess.EODatabaseContext@6c6b00)
STACK TRACE:
java.lang.IllegalStateException: prepareForSaveWithCoordinator:
com.webobjects.eoaccess.EODatabaseContext@6c6b00 is currently saving for
com.webobjects.eocontrol.EOEditingContext@33a5a0 so it cannot prepare to
save for com.webobjects.eocontrol.EOEditingContext@4e4a8a.
com.webobjects.eocontrol.EOObjectStoreCoordinator@562270 has sources
(com.webobjects.eoaccess.EODatabaseContext@6c6b00)
at
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODa
tabaseContext.java:5761)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContex
t(EOObjectStoreCoordinator.java:405)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:
3130)
at AppController.saveChanges(AppController.java:219)
at AppController.initierInnloggetPerson(AppController.java:206)
at Session.loggInn(Session.java:74)
at AppComponent.loggInn(AppComponent.java:69)
at java.lang.reflect.Method.invoke(Native Method)
at Util.invokeMethodInClass(Util.java:39)
at LoginPage.login(LoginPage.java:60)
at java.lang.reflect.Method.invoke(Native Method)
at
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.
java:54)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKe
yValueCoding.java:1160)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey
(NSKeyValueCoding.java:1268)
at
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1544)
at
com.webobjects.appserver.WOComponent.performParentAction(WOComponent.java:11
06)
at UserLogin.login(UserLogin.java:77)
at java.lang.reflect.Method.invoke(Native Method)
at
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.
java:54)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKe
yValueCoding.java:1160)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey
(NSKeyValueCoding.java:1268)
at
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1544)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCod
ing.java:498)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.va
lueForKeyPath(NSKeyValueCodingAdditions.java:212)
at
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1605)
at
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOK
eyValueAssociation.java:46)
at
com.webobjects.appserver._private.WOSubmitButton.invokeAction(WOSubmitButton
.java:70)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:82)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwitchCom
ponent.java:171)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
tContent.java:31)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
tContent.java:31)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwitchCom
ponent.java:171)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
at
com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1136)
at
com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1313)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredPage(WOComponentRequestHandler.java:196)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(W
OComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WO
ComponentRequestHandler.java:432)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:12
44)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java
:167)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:248
)
at java.lang.Thread.run(Thread.java:484)
Deployment config: WO5.2, solaris, Oracle.
-Kaj :)
--
____________________________________________________________________________
Universitetets Senter for Informasjonsteknologi (USIT), Universitetet i Oslo
e-post: email@hidden
_______________________________________________
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.