Re: WO 5.2 - NullPointerException in _eoForGID (2) (EOEditingContext)
Re: WO 5.2 - NullPointerException in _eoForGID (2) (EOEditingContext)
- Subject: Re: WO 5.2 - NullPointerException in _eoForGID (2) (EOEditingContext)
- From: Kaj Hejer <email@hidden>
- Date: Wed, 16 Jul 2003 23:10:36 +0200
At 23:00 +0200 16-07-2003, Kaj Hejer wrote:
At 17:09 +0200 10-04-2003, Kaj Hejer wrote:
We now get this stacktrace on ec.saveChanges() on WO5.2.1 on
solaris. This bug is listed as fixed in WO5.2.1 in
http://docs.info.apple.com/article.html?artnum=75433
Now I have a reproducable case for this bug on WO5.2.1 on osx 10.2.6
with java1.4.1 (the release version of java14.1, not the latest DP
version). Or atleast I think it is the sam bug. The stacktrace
starts with a nullpointer exception in ec._eoForGID.
Hi!
I'm not sure if the stacktrace bellow _is_ related to the issue in my
previous email, but just in case it is I include the stacktrace I
just got from the same application:
2003-07-16 21:02:40 Etc/GMT:Controller:SaveChanges:Exception:
java.lang.IllegalStateException: prepareForSaveWithCoordinator:
com.webobjects.eoaccess.EODatabaseContext@c087be is currently saving
for com.webobjects.eocontrol.EOEditingContext@97e6dc so it cannot
prepare to save for com.webobjects.eocontrol.EOEditingContext@3ee167.
com.webobjects.eocontrol.EOObjectStoreCoordinator@3b34ca has sources
(com.webobjects.eoaccess.EODatabaseContext@c087be)
java.lang.IllegalStateException: prepareForSaveWithCoordinator:
com.webobjects.eoaccess.EODatabaseContext@c087be is currently saving
for com.webobjects.eocontrol.EOEditingContext@97e6dc so it cannot
prepare to save for com.webobjects.eocontrol.EOEditingContext@3ee167.
com.webobjects.eocontrol.EOObjectStoreCoordinator@3b34ca has sources
(com.webobjects.eoaccess.EODatabaseContext@c087be)
at
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5763)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:405)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3128)
at Controller.saveChanges(Controller.java:73)
at NettskjemaComponent.saveChanges(NettskjemaComponent.java:147)
at
RedigerInstitusjonspersoner.saveChanges(RedigerInstitusjonspersoner.java:44)
at
RedigerInstitusjonspersoner.delete(RedigerInstitusjonspersoner.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:54)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.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(NSKeyValueCoding.java:498)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1605)
at
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:46)
at
com.webobjects.appserver._private.WOSubmitButton.invokeAction(WOSubmitButton.java:59)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:55)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.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(WODynamicGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:55)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:31)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:31)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at
com.webobjects.appserver._private.WOHTMLURLValuedElement.invokeAction(WOHTMLURLValuedElement.java:115)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.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(WOComponentReference.java:113)
at
com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwitchComponent.java:171)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:113)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.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 Session.invokeAction(Session.java:117)
at
com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1316)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:196)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:432)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1247)
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:554)
-Kaj :)
_______________________________________________
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.