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.

Solutions on the web17925

  • 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.
  • 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.
  • Cannot bind argument at index 2 because the index is out of range. The statement has 1 parameters.
  • Stack trace

    • 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>(ConstrainedExecutable.java:114) at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.findExecutableMetaData(AnnotationMetaDataProvider.java:341) at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getMetaData(AnnotationMetaDataProvider.java:300) at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getConstructorMetaData(AnnotationMetaDataProvider.java:273)

    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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.