org.springmodules.validation.ValangException

Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path 'form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp]; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp] at line 4, column 20 org.springframework.beans.InvalidPropertyException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path 'form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp] at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:697) at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:643) at org.springmodules.validation.functions.BeanPropertyFunction.getResult(BeanPropertyFunction.java:62) at org.springmodules.validation.functions.LengthOfFunction.doGetResult(LengthOfFunction.java:34) at org.springmodules.validation.functions.AbstractFunction$1.execute(AbstractFunction.java:111) at org.springmodules.validation.functions.FunctionTemplate.execute(FunctionTemplate.java:51) at org.springmodules.validation.functions.AbstractFunction.getResult(AbstractFunction.java:109) at org.springmodules.validation.predicates.GenericTestPredicate.evaluate(GenericTestPredicate.java:44) at org.springmodules.validation.predicates.BasicValidationRule.validate(BasicValidationRule.java:105) at org.springmodules.validation.ValangValidatorFactoryBean$1.validate(ValangValidatorFactoryBean.java:420)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Spring JIRA by Philipp Gaschütz, 11 months ago
    org.springframework.beans.InvalidPropertyException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp] at line
  • via Spring JIRA by Philipp Gaschütz, 1 year ago
    org.springframework.beans.InvalidPropertyException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp] at line
  • Stack trace

    • org.springmodules.validation.ValangException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path 'form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp]; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp] at line 4, column 20 org.springframework.beans.InvalidPropertyException: Invalid property 'form[name][passwd]' of bean class [Person]: Property referenced in indexed property path 'form[name][passwd]' is neither an array nor a List nor a Set nor a Map; returned value was [Philipp] at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:697) at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:643) at org.springmodules.validation.functions.BeanPropertyFunction.getResult(BeanPropertyFunction.java:62) at org.springmodules.validation.functions.LengthOfFunction.doGetResult(LengthOfFunction.java:34) at org.springmodules.validation.functions.AbstractFunction$1.execute(AbstractFunction.java:111) at org.springmodules.validation.functions.FunctionTemplate.execute(FunctionTemplate.java:51) at org.springmodules.validation.functions.AbstractFunction.getResult(AbstractFunction.java:109) at org.springmodules.validation.predicates.GenericTestPredicate.evaluate(GenericTestPredicate.java:44) at org.springmodules.validation.predicates.BasicValidationRule.validate(BasicValidationRule.java:105) at org.springmodules.validation.ValangValidatorFactoryBean$1.validate(ValangValidatorFactoryBean.java:420) at Test.main(Test.java:35)

    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

    You’re the first here who have seen this exception.