Closed
Description
Method:handleTypeMismatch
Object[] args = {ex.getPropertyName(), ex.getValue()};
String defaultDetail = "Failed to convert '" + args[0] + "' with value: '" + args[1] + "'";
If exception type is MethodArgumentTypeMismatchException,
return value of "ex.getPropertyName()" is null.
Therefore "defaultDetail" is "Failed to convert 'null' with value: 'val'";
But, return value of "ex.getName()" is correct property name.
Probably "TypeMismatchException#initPropertyName()" is not called.