Re: T5: Multiple clicks causing NPE

2008-01-12 Thread Howard Lewis Ship
I've added https://issues.apache.org/jira/browse/TAPESTRY-2037 On Jan 8, 2008 4:47 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I'll have to look into whether there is a workaround for that > ThreadLocal bug, and figure out a way to test this. > > > On Jan 8, 2008 2:08 PM, jason lea <[EMAIL

Re: T5: Multiple clicks causing NPE

2008-01-08 Thread Howard Lewis Ship
I'll have to look into whether there is a workaround for that ThreadLocal bug, and figure out a way to test this. On Jan 8, 2008 2:08 PM, jason lea <[EMAIL PROTECTED]> wrote: > Hi, > > We get this error quite often with Java 1.5, we asked about it in the > mailing list back in August. We found th

Re: T5: Multiple clicks causing NPE

2008-01-08 Thread jason lea
Hi, We get this error quite often with Java 1.5, we asked about it in the mailing list back in August. We found the error doesn't occur in Java 1.6. We usually see a stack trace with a NPE when doing getSession() or getCookies(). Here is what I wrote last time: We are getting an intermittent Nu

Re: T5: Multiple clicks causing NPE

2008-01-08 Thread Geoff Callender
The test was with 5.0.7. On 09/01/2008, at 5:48 AM, Robert Zeigler wrote: I've seen this same stack trace from pretty early on, but I never had time to track down the issue... I figured it was a threading issue, to be honest, and I wasn't convinced that it wasn't my code that was at fault.

Re: T5: Multiple clicks causing NPE

2008-01-08 Thread Robert Zeigler
I've seen this same stack trace from pretty early on, but I never had time to track down the issue... I figured it was a threading issue, to be honest, and I wasn't convinced that it wasn't my code that was at fault. But if you look at http://issues.apache.org/jira/browse/TAPESTRY-1658 I po

Re: T5: Multiple clicks causing NPE

2008-01-08 Thread Howard Lewis Ship
That doesn't look good .. but it is an earlier version of the framework, looks like 5.0.3 or 5.0.4. Looks like its hitting this code: public CookieSource buildCookieSource() { return new CookieSource() { public Cookie[] getCookies() {

Re: T5: Multiple clicks causing NPE

2008-01-08 Thread Daniel Jue
This is great! We should all be stress testing the framework to reveal these kinds of problems. Easier to fix now than later! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: Multiple clicks causing NPE

2008-01-08 Thread Geoff Callender
While trying to demonstrate the dangers of multiple submits, I found Tapestry throwing NullPointerException. Can someone who understands Tapestry's internals shed some light on this? To make the test possible, I emulated a slow operation by sleeping 2 seconds. The NPE then occurred on th