[ http://issues.apache.org/jira/browse/TAPESTRY-658?page=comments#action_12357170 ]
Leonardo Quijano Vincenzi commented on TAPESTRY-658: ---------------------------------------------------- Can someone please commit these one-liners? > LabeledPropertySelectionModel throws NPE on null value > ------------------------------------------------------ > > Key: TAPESTRY-658 > URL: http://issues.apache.org/jira/browse/TAPESTRY-658 > Project: Tapestry > Type: Bug > Components: Framework > Versions: 4.0 > Reporter: Leonardo Quijano Vincenzi > Attachments: LabeledPropertySelectionModel.patch, > TestLabeledPropertySelectionModel.patch > > Seems like LabeledPropertySelectionModel is throwing a NPE when the > underlying IPropertySelectionModel returns a null value (or when specified a > null value in the constructor): > /** > * @see > org.apache.tapestry.form.IPropertySelectionModel#translateValue(java.lang.String) > */ > public Object translateValue(String value) > { > return value.equals(_value) ? _option : > _model.translateValue(value); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
