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

Stack Overflow | Saptarshi | 9 months 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

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

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

    Can't run tests from Cucumber feature.file (cucumber.runtime.CucumberException:)

    Software Quality Assurance & Testing | 4 months ago | SanchelliosProg
    cucumber.runtime.CucumberException: Failed to instantiate class ru.mts.m2m.b2b.stepDefinition.FilterDefinition

    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