cucumber.runtime.CucumberException: Failed to instantiate class cucumber.steps.myClass

Stack Overflow | Laura G | 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

    CucumberException failed to instanciate class

    Stack Overflow | 9 months ago | Laura G
    cucumber.runtime.CucumberException: Failed to instantiate class cucumber.steps.myClass
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Kylin running but cant load webpage admin consol

    Stack Overflow | 1 year ago | Legendary_Hunter
    java.lang.reflect.InvocationTargetException
  4. 0

    Problems in opening a properties file in gremlin shell

    Google Groups | 1 year ago | Daniele Battista
    com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.reflect.InvocationTargetException

    No message provided

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  3. Cucumber-JVM: Java
    JavaStepDefinition.execute
    1. cucumber.runtime.java.DefaultJavaObjectFactory.cacheNewInstance(DefaultJavaObjectFactory.java:40)
    2. cucumber.runtime.java.DefaultJavaObjectFactory.getInstance(DefaultJavaObjectFactory.java:32)
    3. cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)
    3 frames
  4. Cucumber-JVM: Core
    CucumberScenario.run
    1. cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
    2. cucumber.runtime.Runtime.runStep(Runtime.java:299)
    3. cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
    4. cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
    5. cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
    5 frames
  5. Cucumber-JVM: JUnit
    FeatureRunner.runChild
    1. cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91)
    2. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
    3. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
    3 frames
  6. 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
  7. Cucumber-JVM: JUnit
    Cucumber.runChild
    1. cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
    2. cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
    3. cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
    3 frames
  8. 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
  9. Cucumber-JVM: JUnit
    Cucumber.run
    1. cucumber.api.junit.Cucumber.run(Cucumber.java:98)
    1 frame
  10. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
    4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
    4 frames
  11. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    3 frames