Re: Null Pointer Exception in EOEditingContext._setRecordIsInitialized
Re: Null Pointer Exception in EOEditingContext._setRecordIsInitialized
- Subject: Re: Null Pointer Exception in EOEditingContext._setRecordIsInitialized
- From: Brendan Duddridge <email@hidden>
- Date: Thu, 08 Jan 2004 18:42:23 -0700
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.
Thanks,
___________________________
Brendan Duddridge
ClickSpace Interactive Inc.
Suite L100
239 - 10th Ave SE
Calgary, AB T2G 0V9
Canada
(403) 277-5591
http://www.clickspace.com/
> From: Chuck Hill <email@hidden>
> Organization: Global Village Consulting, Inc.
> Reply-To: email@hidden
> Date: Thu, 08 Jan 2004 16:16:21 -0800
> To: Brendan Duddridge <email@hidden>
> Cc: email@hidden
> Subject: Re: Null Pointer Exception in
> EOEditingContext._setRecordIsInitialized
>
> Yes, I've seen this problem too with WO 5.2.2. I don't yet know what
> causes it. It is always saveChanges -> didSaveChanges ->
> _clearOriginalSnapshotAndInitializeRec -> _setRecordIsInitialized
>
> Are you using concurrent request dispatching?
>
> When I saw it, it was for a saveChanges after deleteObject().
>
>
> Chuck
>
>
> Brendan Duddridge wrote:
>
>> Hi,
>>
>> I am running WO 5.2.2 on Panther Server OS X 10.3 and have received quite a
>> few NPE exceptions in EOEditingContext._setRecordIsInitialized since
>> upgrading from WO 5.2.1 on Jaguar.
>>
>> Here's a couple of stack traces:
>>
>> java.lang.NullPointerExceptionjava.lang.NullPointerException
>> at
>> com.webobjects.eocontrol.EOEditingContext._setRecordIsInitialized(EOEditingC
>> ontext.java:2592)
>> at
>> com.webobjects.eocontrol.EOEditingContext._clearOriginalSnapshotAndInitializ
>> eRec(EOEditingContext.java:2584)
>> at
>> com.webobjects.eocontrol.EOEditingContext.didSaveChanges(EOEditingContext.ja
>> va:3000)
>> at
>> com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:
>> 3156)
>> at StandardTmplEditPage.saveMessage(StandardTmplEditPage.java:159)
>> at StandardTmplEditPage.previewMessage(StandardTmplEditPage.java:73)
>> 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)
>>
>> [... Truncated to fit within the confines of 8K messages for this list ...]
>>
>>
>>
>>
>>
>> Here's another one in a different part of my application:
>>
>>
>>
>> java.lang.NullPointerExceptionjava.lang.NullPointerException
>> at
>> com.webobjects.eocontrol.EOEditingContext._setRecordIsInitialized(EOEditingC
>> ontext.java:2592)
>> at
>> com.webobjects.eocontrol.EOEditingContext._clearOriginalSnapshotAndInitializ
>> eRec(EOEditingContext.java:2584)
>> at
>> com.webobjects.eocontrol.EOEditingContext.didSaveChanges(EOEditingContext.ja
>> va:3000)
>> at
>> com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:
>> 3156)
>> at ChooseLinkComponent.applyLink(ChooseLinkComponent.java:442)
>> 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)
>>
>> [... Truncated to fit within the confines of 8K messages for this list ...]
>>
>>
>>
>>
>> After this happens, the EOEditingContext on the object being saved gets
>> clobbered and the application generates an exception for that.
>>
>> Has anyone else seen this problem before? If so, how did you fix it? This
>> never happened in WO 5.2.1 on Jaguar.
>>
>> Thanks,
>>
>> ___________________________
>>
>> Brendan Duddridge
>>
>> ClickSpace Interactive Inc.
>> Suite L100
>> 239 - 10th Ave SE
>> Calgary, AB T2G 0V9
>> Canada
>> (403) 277-5591
>> http://www.clickspace.com/
>> _______________________________________________
>> 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.
>
> --
>
> Chuck Hill email@hidden
> Global Village Consulting Inc. http://www.global-village.net
>
> Progress is the mother of all problems.
> - G. K. Chesterton
_______________________________________________
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.