cucumber.runtime.CucumberException: Failed to instantiate class com.dummy.package.ClassUnderTst

Stack Overflow | Saptarshi | 6 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

    How to Mock Jsoup post call and reply back with constant response

    Stack Overflow | 6 months ago | Saptarshi
    cucumber.runtime.CucumberException: Failed to instantiate class com.dummy.package.ClassUnderTst

    1 unregistered visitors

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      Failed to instantiate class com.dummy.package.ClassUnderTst

      at cucumber.runtime.java.DefaultJavaObjectFactory.cacheNewInstance()
    2. Cucumber-JVM: Java
      JavaStepDefinition.execute
      1. cucumber.runtime.java.DefaultJavaObjectFactory.cacheNewInstance(DefaultJavaObjectFactory.java:46)
      2. cucumber.runtime.java.DefaultJavaObjectFactory.getInstance(DefaultJavaObjectFactory.java:32)
      3. cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)
      3 frames