[ https://issues.apache.org/jira/browse/TAP5-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Massimo Lusetti closed TAP5-299. -------------------------------- Resolution: Invalid Please open a new one for 5.3 if this still applicable and has relevance > NPE in SelectModelRenderer when Palette used with mismatched values and model > ----------------------------------------------------------------------------- > > Key: TAP5-299 > URL: https://issues.apache.org/jira/browse/TAP5-299 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.0.15 > Reporter: Dan Adams > > Create a model with A,B as the available options and set the palette value > parameter to a list with C. You will get a NPE here: > org.apache.tapestry5.internal.util.SelectModelRenderer.option(SelectModelRenderer.java:49) > org.apache.tapestry5.corelib.components.Palette$SelectedRenderer.render(Palette.java:147) > because valueToOptionModel in Palette doesn't contain a mapping for C. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira