java.lang.IllegalArgumentException

Wrong type at constant pool index

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • Stack trace

    • java.lang.IllegalArgumentException: Wrong type at constant pool index at cucumber.runtime.java.JavaBackend.addStepDefinition(JavaBackend.java:164) at cucumber.api.java8.En.Given(En.java:190) at at.solaris.Solaris.<init>(Solaris.java:14) Caused by: java.lang.IllegalArgumentException: Wrong type at constant pool index at sun.reflect.ConstantPool.getMemberRefInfoAt0(Native Method) at sun.reflect.ConstantPool.getMemberRefInfoAt(ConstantPool.java:47) at cucumber.runtime.java8.ConstantPoolTypeIntrospector.getTypeString(ConstantPoolTypeIntrospector.java:37) at cucumber.runtime.java8.ConstantPoolTypeIntrospector.getGenericTypes(ConstantPoolTypeIntrospector.java:27) at cucumber.runtime.java.Java8StepDefinition.<init>(Java8StepDefinition.java:45) at cucumber.runtime.java.JavaBackend.addStepDefinition(JavaBackend.java:162) ... 3 more

    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

    andyglickandyglick
    1 times, last one,