Re: [T5.2.5] NPE on form submit

2011-06-02 Thread rorschach
Finally got this one fixed for real. After handling the NPE and digging around a bit more, I found the real culprit. An IllegalStateException that the page threw because one of the custom filters in this project called sendRedirect() twice. Refactored the code and everything seems to be working

Re: [T5.2.5] NPE on form submit

2011-05-31 Thread rorschach
I've messed around with this problem a bit more. The same exception obviously also happens in Jetty (now that I checked the actual logs), but Jetty somehow manages to not crash and redirect me back to the proper page. The workaround I came up with was that I just overwrote the class that throws

[T5.2.5] NPE on form submit

2011-05-23 Thread rorschach
We recently upgraded a big project we're working on to Tapestry 5.2.5. After the upgrade, certain form submits just randomly stopped working. On clicking submit, we get hit with the following error: java.lang.NullPointerException @

How do you initialize contents of a Zone when the page is loaded?

2008-11-13 Thread Rorschach
I'm new to Tapestry, and have just gone through the recommended basic Tapestry 5 tutorials. Currently playing around with the T5 Ajax support and at this point, I understand how to refresh a zone after clicking on an actionLink. However, I can't seem to find any examples on how to initialize the