Validation Error: Value is not valid
This means that the selected item does not match any of the items available in the list. I.e., the stateCode.equals(stateList.get(i))
has never returned true
for any of the items.
This can happen when the stateList
is empty during validations phase, or when the equals()
method of the value type is not (properly) implemented.
See also:
- Validation Error: Value is not valid