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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    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