java.lang.IllegalArgumentException: HV000062: Method public com.foo.Outer$Inner(com.foo.Outer,int) has 2 parameters, but the passed list of parameter meta data has a size of 1.

Hibernate JIRA | Gunnar Morling | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      HV000062: Method public com.foo.Outer$Inner(com.foo.Outer,int) has 2 parameters, but the passed list of parameter meta data has a size of 1.

      at org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable.<init>()
    2. Hibernate Validator Engine
      AnnotationMetaDataProvider.getConstructorMetaData
      1. org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable.<init>(ConstrainedExecutable.java:114)
      2. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.findExecutableMetaData(AnnotationMetaDataProvider.java:341)
      3. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getMetaData(AnnotationMetaDataProvider.java:300)
      4. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getConstructorMetaData(AnnotationMetaDataProvider.java:273)
      4 frames