[ http://issues.apache.org/struts/browse/SB-46?page=comments#action_38223 ] Wendy Smoak commented on SB-46: -------------------------------
On the dev list, Antonio wrote: I've read the thread, but the last NPE stack trace that I notice is the one that happens at InsertTag:367. At that line currently there is no code (a curly closing bracket only!) so I think it is only a problem of caching... Anyway the "type" attribute should not be required: it is useful only to distinguish between "definition" and "attribute" in the case that we have a definition and an attribute with the same name, giving precedence to "definition" if it is not specified. Am I correct? > Upgrading to the latest snapshot causes NPE if the type attribute is not used > with <tiles:insert> > ------------------------------------------------------------------------------------------------- > > Key: SB-46 > URL: http://issues.apache.org/struts/browse/SB-46 > Project: Sandbox > Issue Type: Bug > Components: Tiles > Affects Versions: 2.0 > Reporter: Wendy Smoak > Fix For: 2.0 > > > Shale user list thread: > http://www.nabble.com/Shale-1.0.3-and-Tiles-Question---Tag-Question-t2204571.html > Two users report NPEs in InsertTag when they use <tiles:insert> without the > 'type' attribute. > Determine whether 'type' is a required attribute. If so, document it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
