org.springframework.beans.NotReadablePropertyException

Invalid property 'userGroups[1].name' of bean class [com.siemens.isb.shared.user.client.data.UserDto]: Bean property 'userGroups[1].name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

Solutions on the web103

  • Invalid property 'userGroups[1].name' of bean class [com.siemens.isb.shared.user.client.data.UserDto]: Bean property 'userGroups[1].name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
  • via Stack Overflow by Frank
    , 1 year ago
    Invalid property 'name' of bean class [java.util.ArrayList]: Bean property 'name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
  • Invalid property 'name' of bean class [org.mainco.subco.user.domain.User]: Bean property 'name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
  • Stack trace

    • org.springframework.beans.NotReadablePropertyException: Invalid property 'userGroups[1].name' of bean class [com.siemens.isb.shared.user.client.data.UserDto]: Bean property 'userGroups[1].name' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:619) at org.springframework.beans.AbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.java:610) at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99) at org.springframework.validation.AbstractBindingResult.getRawFieldValue(AbstractBindingResult.java:283) at org.springframework.validation.beanvalidation.SpringValidatorAdapter.getRejectedValue(SpringValidatorAdapter.java:240) at org.springframework.validation.beanvalidation.SpringValidatorAdapter.processConstraintViolations(SpringValidatorAdapter.java:138)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 9 months ago
    32 times, 11 months ago
    4 times, 1 year ago
    Once, 5 months ago