RE: Strange EOF exception
RE: Strange EOF exception
- Subject: RE: Strange EOF exception
- From: "Pierre Bernard" <email@hidden>
- Date: Thu, 22 Jan 2004 17:38:23 +0100
- Thread-topic: Strange EOF exception
I had at a point gained the impression that this bug was related to improper locking.
The test code I posted earlier on however does proper locking and does not use nested contexts. Yet the problem shows up.
Pierre
-----Original Message-----
From: Kaj Hejer [mailto:email@hidden]
Sent: Thursday, January 22, 2004 5:30 PM
To: Pierre Bernard; email@hidden; WebObjects Developers; Apple WO Dev
Subject: RE: Strange EOF exception
At 16:49 +0100 22-01-04, Pierre Bernard wrote:
>I was just about to write a bug report about this. Well, I will
>within the next few days...
>
>I am seeing this if after saving an object failed over a validation
>error I attempt to delete the offinding object. A colleage has
>written a test case I still have to look into. It appears that the
>bug cannot be reproduced on a WebObjects 5.1.3 machine.
>
>I'd be glad to have more information about this. Let's hope someone
>at Apple will feel this is worth a quick fix. Such unexpected
>crashes are no good ... at all.
Hi!
We too have seen this stacktrace a few times on WO5.2.2, but never on WO5.2.1.
In the app where we have seen this issue we havn't yet implemented
locking when using a childEC (child of
session.defaultEditingContext). This is bad :) and we do plan to
implement locking here.
Do you use session.defaultEditingContext there you get this exception
or do you lock the ec you use?
-Kaj :)
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
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.