org.springframework.validation.BeanPropertyBindingResult: 1 errors Field error in object 'promotionProductQuery' on field 'promotionId': rejected value [undefined]; codes [typeMismatch.promotionProductQuery.promotionId,typeMismatch.promotionId,typeMismatch.java.lang.Integer,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [promotionProductQuery.promotionId,promotionId]; arguments []; default message [promotionId]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'promotionId'; nested exception is java.lang.NumberFormatException: For input string: "undefined"]