Re: Null Pointer Exception in EOEditingContext._setRecordIsInitialized
Re: Null Pointer Exception in EOEditingContext._setRecordIsInitialized
- Subject: Re: Null Pointer Exception in EOEditingContext._setRecordIsInitialized
- From: Kaj Hejer <email@hidden>
- Date: Fri, 9 Jan 2004 08:02:05 +0100
At 18:42 -0700 08-01-04, Brendan Duddridge wrote:
Hi Chuck,
No, I'm not using concurrent request dispatching. I'm also not executing a
deleteObject before the saveChanges().
It's not easily reproducible that's for sure, but many of my users are
encountering in after doing just a few or sometimes many many tasks in my
application.
Hi!
I too have see this stacktrace on WO5.2.2 while testing one of our
apps with WO5.2.2. I include our stacktrace bellow.
I have only see this exception a few times so it is not easy to
reproduce. I don't remember what I did before that saveChanges() when
I got this exception.
The ec we use here is a childEC of session.defaultEditingContext and
in this application we still havn't implemented locking of this
childEC (we are running it under WO5.1.3 in deployment (on solaris)
and there we yet havn't seen any problems with this yet).
We _do_ plan to implement locking here! :)
Maybe this is a locking related issue?
Do you use locking on the ec you use when you get this exception?
Here is the stacktrace:
java.lang.NullPointerException
at
com.webobjects.eocontrol.EOEditingContext._setRecordIsInitialized(EOEditingContext.java:2592)
at
com.webobjects.eocontrol.EOEditingContext._clearOriginalSnapshotAndInitializeRec(EOEditingContext.java:2584)
at
com.webobjects.eocontrol.EOEditingContext.didSaveChanges(EOEditingContext.java:3000)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3156)
at NettloggComponent.saveChanges(NettloggComponent.java:209)
java.lang.NullPointerException
at
com.webobjects.eocontrol.EOEditingContext._setRecordIsInitialized(EOEditingContext.java:2592)
at
com.webobjects.eocontrol.EOEditingContext._clearOriginalSnapshotAndInitializeRec(EOEditingContext.java:2584)
at
com.webobjects.eocontrol.EOEditingContext.didSaveChanges(EOEditingContext.java:3000)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3156)
at NettloggComponent.saveChanges(NettloggComponent.java:209)
-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.