Hi all, I've done some T4 development in the past, and now I'm trying to break into the T5 world. I'm getting a peculiar error when I try to add a form to one of my pages. I've dug around in the mailing list archives and on Google, but I didn't see anything that pertained to the specific error I'm seeing or my circumstances. The error I'm getting is as follows:
HTTP ERROR 500 Problem accessing /pepe/login/page. Reason: Render queue error in BeginRender[core/ExceptionReport:exceptiondisplay.loop_1]: Error serializing component action for component core/ExceptionReport:exceptiondisplay.loop_1: write beyond end of stream A stack trace follows and is available upon request. I'm using Tapestry 5.3.7 with openjdk-1.6.0 on CentOS 6.5, and Eclipse 3.6.1 (Helios) for an IDE with RunJettyRun to build and test. I've followed the form example on the tapestry.apache.org site, as well as the tapestry5-hotel-booking example app from GitHub (and there are some discrepancies between the two) with the same result. Here is my LoginPage class: public class LoginPage { @Persist @Property private String userName; @Property private String password; @Inject private Authenticator authenticator; @Component private Form login; @Inject private CoreContext coreContext; @SessionState private UserSession userSession; public Object onActivate() { return userSession.isAuthenticated() ? MainPage.class : null; } void onValidateFromLogin() { User user=authenticator.authUser(userName, password); if (user != null){ // Set up user session with user info userSession.setUser(user); userSession.setAuthenticated(true); } else { // Record an error login.recordError("Invalid login"); } } Object onSuccess() { return MainPage.class; } } The form in my .tml template is as so: <t:form t:id="login"> <t:errors /> Username: <t:textfield t:id="userName" validate="required" size="20" /> <br/> Password: <t:passwordfield t:id="password" validate="required" size="20" /> <br/> <input type="submit" value="Login"/> </t:form> Everything else on that page and others in my app seem to work fine, but with the addition of the form, I get this error. The error I'm getting appears to be generated by Jetty, and is not the usual Tapestry exception page. Has anyone ever seen this error or know where I might look to find the cause of this error? Thanks in advance, Andy [Compassion, Excellence, Reliability] ________________________________ CONFIDENTIALITY NOTICE: This email may contain information belonging to BAYADA and is protected by law. Do not forward, copy, or otherwise disclose to anyone unless permitted by BAYADA or required by law. If you are not the intended recipient, please notify the sender immediately.