[ https://issues.apache.org/jira/browse/TAP5-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645896#action_12645896 ]
Howard M. Lewis Ship commented on TAP5-311: ------------------------------------------- I suspect the problem here is that BeanDisplay has an internal Loop that's driven off of the model property of BeanDisplay, and that is null with no form-aware logic to set it up, the way that BeanEditor does. The solution is to provide the model parameter. > NPE in BeanDisplay if used in a form with a default model > --------------------------------------------------------- > > Key: TAP5-311 > URL: https://issues.apache.org/jira/browse/TAP5-311 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.0.15 > Reporter: Dan Adams > > Create something like this: > <t:form> > <t:beandisplay object="foo" include="bar" /> > </t:form> > and submit the form. You get a NPE in beandisplay. The workaround is to > create the model yourself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]