RE: Race condition, what do we do? (was DO NOT REPLY [Bug 24842] - java.lang.NullPointerException in first test -- thread synchronization prob?)

2004-03-13 Thread Vincent Massol
> -Original Message- > From: Nicholas Lesiecki [mailto:[EMAIL PROTECTED] > Sent: 11 March 2004 03:41 > To: Cactus Developers List > Subject: Re: Race condition, what do we do? (was DO NOT REPLY [Bug 24842] > - java.lang.NullPointerException in first test -- thread sync

Re: Race condition, what do we do? (was DO NOT REPLY [Bug 24842] - java.lang.NullPointerException in first test -- thread synchronization prob?)

2004-03-10 Thread Nicholas Lesiecki
Ok, I'm sorry I haven't responded to this until now. I think the thread sleep pause suggested by Per is a bad idea, because, as he points out, the problem could be a race condition. The sleep could cover 90% or cases but leave open a different case. A cursory look through CVS did not confirm o

Re: Race condition, what do we do? (was DO NOT REPLY [Bug 24842] - java.lang.NullPointerException in first test -- thread synchronization prob?)

2004-03-07 Thread Nicholas Lesiecki
Sorry I haven't responded to this. It's been on my list of things to do, I just haven't had time... This week is looking good for it but not today. Cheers, Nick On Feb 27, 2004, at 4:08 AM, Vincent Massol wrote: Chris/Nick, What do we do about this? Do you have any idea? It's a complex topic a

Race condition, what do we do? (was DO NOT REPLY [Bug 24842] - java.lang.NullPointerException in first test -- thread synchronization prob?)

2004-02-27 Thread Vincent Massol
Chris/Nick, What do we do about this? Do you have any idea? It's a complex topic and I'm sure there are several ways to tackle it. Actually I'm surprised it can happen as I thought that thanks to the AutoReadHttpURLConnection the tests would execute one after another. Do we add the thread sleep p