cucumber.runtime.CucumberException: wrong number of arguments

Google Groups | Seb Rose | 3 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.
  1. 0

    [JVM][Spring] Constructor injection doesn't seem to work

    Google Groups | 3 years ago | Seb Rose
    cucumber.runtime.CucumberException: wrong number of arguments

    5 unregistered visitors

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      wrong number of arguments

      at cucumber.runtime.java.spring.SpringFactory.getTestInstance()
    2. cucumber.runtime.java
      SpringFactory.getInstance
      1. cucumber.runtime.java.spring.SpringFactory.getTestInstance(SpringFactory.java:162)
      2. cucumber.runtime.java.spring.SpringFactory.getInstance(SpringFactory.java:142)
      2 frames
    3. Cucumber-JVM: Java
      JavaStepDefinition.execute
      1. cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:35)
      1 frame