cucumber.runtime.CucumberException: Failed to instantiate class oktesting.app.StepDefinitions

GitHub | dherges | 7 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. 1

    AbstractMethodError in 1.2.5-SNAPSHOT

    GitHub | 7 months ago | dherges
    cucumber.runtime.CucumberException: Failed to instantiate class oktesting.app.StepDefinitions

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      Failed to instantiate class oktesting.app.StepDefinitions

      at cucumber.runtime.java.DefaultJavaObjectFactory.cacheNewInstance()
    2. Cucumber-JVM: Java
      JavaBackend.buildWorld
      1. cucumber.runtime.java.DefaultJavaObjectFactory.cacheNewInstance(DefaultJavaObjectFactory.java:47)
      2. cucumber.runtime.java.DefaultJavaObjectFactory.getInstance(DefaultJavaObjectFactory.java:33)
      3. cucumber.runtime.java.JavaBackend.buildWorld(JavaBackend.java:131)
      3 frames
    3. Cucumber-JVM: Core
      CucumberScenario.run
      1. cucumber.runtime.Runtime.buildBackendWorlds(Runtime.java:141)
      2. cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:38)
      2 frames
    4. Cucumber-JVM: JUnit
      FeatureRunner.runChild
      1. cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
      2. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
      3. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
      3 frames
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      6 frames
    6. Cucumber-JVM: JUnit
      Cucumber.runChild
      1. cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
      2. cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
      3. cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
      3 frames
    7. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      6. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      7. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      8. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      8 frames
    8. Cucumber-JVM: JUnit
      Cucumber.run
      1. cucumber.api.junit.Cucumber.run(Cucumber.java:100)
      1 frame