java.lang.IllegalArgumentException: Wrong type at constant pool index

Google Groups | Unknown author | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [JVM] error executing cucumber with cucumber-java8 lambda

    Google Groups | 9 months ago | Unknown author
    java.lang.IllegalArgumentException: Wrong type at constant pool index
  2. 0

    ConstantPoolTypeIntrospector.java:37 problem with Oracle JDK 8u60+

    GitHub | 1 year ago | bencody
    java.lang.IllegalArgumentException: Wrong type at constant pool index

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Wrong type at constant pool index

    at sun.reflect.ConstantPool.getMemberRefInfoAt0()
  2. Java RT
    ConstantPool.getMemberRefInfoAt
    1. sun.reflect.ConstantPool.getMemberRefInfoAt0(Native Method)
    2. sun.reflect.ConstantPool.getMemberRefInfoAt(ConstantPool.java:47)
    2 frames
  3. cucumber.runtime.java8
    ConstantPoolTypeIntrospector.getGenericTypes
    1. cucumber.runtime.java8.ConstantPoolTypeIntrospector.getTypeString(ConstantPoolTypeIntrospector.java:37)
    2. cucumber.runtime.java8.ConstantPoolTypeIntrospector.getGenericTypes(ConstantPoolTypeIntrospector.java:27)
    2 frames
  4. Cucumber-JVM: Java
    En.Given
    1. cucumber.runtime.java.Java8StepDefinition.<init>(Java8StepDefinition.java:45)
    2. cucumber.runtime.java.JavaBackend.addStepDefinition(JavaBackend.java:162)
    3. cucumber.runtime.java.JavaBackend.addStepDefinition(JavaBackend.java:164)
    4. cucumber.api.java8.En.Given(En.java:190)
    4 frames
  5. at.solaris
    Solaris.<init>
    1. at.solaris.Solaris.<init>(Solaris.java:14)
    1 frame