org.picocontainer.injectors.AbstractInjector$NotConcreteRegistrationException: Bad Access: 'MyStepdefsBase' is not instantiable

GitHub | avh4 | 5 years ago
  1. 0

    abstract Stepdef classes causes a crash during initialization

    GitHub | 5 years ago | avh4
    org.picocontainer.injectors.AbstractInjector$NotConcreteRegistrationException: Bad Access: 'MyStepdefsBase' is not instantiable
  2. 0

    [JVM][PicoContainer] 'org.openqa.selenium.WebDriver' is not instantiable

    Google Groups | 4 years ago | Richard Paul
    org.picocontainer.injectors.AbstractInjector$NotConcreteRegistrationException: Bad Access: 'org.openqa.selenium.WebDriver' is not instantiable

    2 unregistered visitors

    Root Cause Analysis

    1. org.picocontainer.injectors.AbstractInjector$NotConcreteRegistrationException

      Bad Access: 'MyStepdefsBase' is not instantiable

      at org.picocontainer.injectors.AbstractInjector.checkConcrete()
    2. PicoContainer Core
      DefaultPicoContainer.addComponent
      1. org.picocontainer.injectors.AbstractInjector.checkConcrete(AbstractInjector.java:86)
      2. org.picocontainer.injectors.AbstractInjector.<init>(AbstractInjector.java:67)
      3. org.picocontainer.injectors.SingleMemberInjector.<init>(SingleMemberInjector.java:43)
      4. org.picocontainer.injectors.ConstructorInjector.<init>(ConstructorInjector.java:104)
      5. org.picocontainer.injectors.ConstructorInjection.createComponentAdapter(ConstructorInjection.java:59)
      6. org.picocontainer.injectors.AdaptingInjection.defaultInjectionAdapter(AdaptingInjection.java:121)
      7. org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(AdaptingInjection.java:107)
      8. org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(AbstractBehaviorFactory.java:44)
      9. org.picocontainer.behaviors.Caching.createComponentAdapter(Caching.java:46)
      10. org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:536)
      11. org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:501)
      12. org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:488)
      12 frames
    3. Cucumber-JVM: PicoContainer
      PicoFactory.createInstances
      1. cucumber.runtime.java.picocontainer.PicoFactory.createInstances(PicoFactory.java:17)
      1 frame
    4. Cucumber-JVM: Java
      JavaBackend.buildWorld
      1. cucumber.runtime.java.JavaBackend.buildWorld(JavaBackend.java:41)
      1 frame
    5. Cucumber-JVM: Core
      CucumberScenario.buildWorldAndRunBeforeHooks
      1. cucumber.runtime.Runtime.buildBackendWorlds(Runtime.java:124)
      2. cucumber.runtime.World.buildBackendWorldsAndRunBeforeHooks(World.java:34)
      3. cucumber.runtime.model.CucumberScenario.buildWorldAndRunBeforeHooks(CucumberScenario.java:30)
      3 frames
    6. cucumber.junit
      ExecutionUnitRunner.run
      1. cucumber.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:51)
      1 frame
    7. JUnit
      ParentRunner.run
      1. org.junit.runners.Suite.runChild(Suite.java:128)
      2. org.junit.runners.Suite.runChild(Suite.java:24)
      3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      8. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      8 frames
    8. cucumber.junit
      Cucumber.run
      1. cucumber.junit.Cucumber.run(Cucumber.java:111)
      1 frame
    9. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    10. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames