Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

Can anyone help with the below error i receive during check userpath?

$
0
0

org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 2 errors Field error in object 'userDTO' on field 'ageGroupId': rejected value [18 - 25]; codes [typeMismatch.userDTO.ageGroupId,typeMismatch.ageGroupId,typeMismatch.java.lang.Long,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [userDTO.ageGroupId,ageGroupId]; arguments []; default message [ageGroupId]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Long' for property 'ageGroupId'; nested exception is java.lang.NumberFormatException: For input string: "18-25"] Field error in object 'userDTO' on field 'nationalityId': rejected value [AFGHANISTAN]; codes [typeMismatch.userDTO.nationalityId,typeMismatch.nationalityId,typeMismatch.java.lang.Long,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [userDTO.nationalityId,nationalityId]; arguments []; default message [nationalityId]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Long' for property 'nationalityId'; nested exception is java.lang.NumberFormatException: For input string: "AFGHANISTAN"]


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>