java.lang.IllegalArgumentException

org.springmodules.validation.util.condition.string.MaxLengthStringConditioncan only validation values of the following types: java.lang.String

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 web9900

  • via Spring JIRA by Dehong Pan, 1 year ago
    org.springmodules.validation.util.condition.string.MaxLengthStringConditioncan only validation values of the following types: java.lang.String
  • via Spring JIRA by Dehong Pan, 11 months ago
    org.springmodules.validation.util.condition.string.MaxLengthStringConditioncan only validation values of the following types: java.lang.String
  • via Google Groups by Alexandre Arcanjo de Queiroz, 3 weeks ago
    'principal' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public abstract transient java.lang.String org.jasig.cas.CentralAuthenticationService.delegateTicketGrantingTicket(java.lang.String,org.jasig.cas.authentication.Credential[]))
  • Stack trace

    • java.lang.IllegalArgumentException: org.springmodules.validation.util.condition.string.MaxLengthStringConditioncan only validation values of the following types: java.lang.String at org.springmodules.validation.util.condition.TypeSpecificCondition.beforeObjectChecked(TypeSpecificCondition.java:74) at org.springmodules.validation.util.condition.NonNullAcceptingTypeSpecificCondition.beforeObjectChecked(NonNullAcceptingTypeSpecificCondition.java:43) at org.springmodules.validation.util.condition.AbstractCondition.check(AbstractCondition.java:35) at org.springmodules.validation.util.condition.bean.PropertyBeanCondition.checkBean(PropertyBeanCondition.java:58) at org.springmodules.validation.util.condition.bean.AbstractBeanCondition.doCheck(AbstractBeanCondition.java:39) at org.springmodules.validation.util.condition.AbstractCondition.check(AbstractCondition.java:36) at org.springmodules.validation.bean.BeanValidator.validateAndShortCircuitRules(BeanValidator.java:429) at org.springmodules.validation.bean.BeanValidator.applyPropertiesValidationRules(BeanValidator.java:412) at org.springmodules.validation.bean.BeanValidator.applyBeanValidation(BeanValidator.java:349) at org.springmodules.validation.bean.BeanValidator.validateObjectGraphConstraints(BeanValidator.java:181) at org.springmodules.validation.bean.BeanValidator.validate(BeanValidator.java:99)

    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.