[ http://mc4j.org/jira/browse/STS-305?page=comments#action_10524 ] Ben Gunter commented on STS-305: --------------------------------
It's actually one of 'action' or 'beanclass' that is required. I added a sanity check to doStartTag() to check for this condition. > FormTag should check for null action and null binding > ----------------------------------------------------- > > Key: STS-305 > URL: http://mc4j.org/jira/browse/STS-305 > Project: Stripes > Issue Type: Improvement > Components: Tag Library > Affects Versions: Release 1.4.1 > Reporter: Ben Gunter > Assigned To: Ben Gunter > Priority: Minor > > I did something admittedly dumb and created a <stripes:form> without setting > either the binding or action attributes on the tag. This resulted in Stripes > calling ServletRequest.getAttribute() with a null argument, which threw a NPE > at FormTag.java, line 305. I had to look at the source code to figure out > what was wrong. Stripes should check for this condition and throw a more > informative exception if it occurs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
