cucumber.runtime.CucumberException: wrong number of arguments

Google Groups | Seb Rose | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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