DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5407>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5407 NullPointerException in BeanUtils.java when submission of form with <select> results in ...&bla=&... Summary: NullPointerException in BeanUtils.java when submission of form with <select> results in ...&bla=&... Product: Struts Version: 1.0 Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <select name="blabla" multiple> may lead to empty parameter value ...&blabla=&... in query string in some browsers (I tried Opera 5.12) This leads to NullPointerException in BeanUtils.java: java.lang.NullPointerException at org.apache.struts.util.BeanUtils.getArrayProperty(BeanUtils.java:217) at org.apache.struts.taglib.html.SelectTag.doStartTag (SelectTag.java:289) [...] values.add(Array.get(value, i).toString()); ^ maybe check for null should be performed before calling toString(). -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>