org.apache.maven.surefire.testset.TestSetFailedException: java.lang.NullPointerException

GitHub | SchnuckySchuster | 6 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

    () in Scenario leads to crash in result aggregation >> NullPointerException

    GitHub | 6 months ago | SchnuckySchuster
    org.apache.maven.surefire.testset.TestSetFailedException: java.lang.NullPointerException
  2. 0

    Cucumber tests in parallel with Maven surefire throw NPE

    GitHub | 1 year ago | mpalki-cabcat
    org.apache.maven.surefire.testset.TestSetFailedException: java.lang.NullPointerException

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.maven.surefire.junitcore.ConcurrentRunListener.testStarting()
    2. SureFire JUnitCore Runner
      ConcurrentRunListener.testStarting
      1. org.apache.maven.surefire.junitcore.ConcurrentRunListener.testStarting(ConcurrentRunListener.java:129)
      1 frame
    3. JUnit4 Provider
      JUnit4RunListener.testStarted
      1. org.apache.maven.surefire.common.junit4.JUnit4RunListener.testStarted(JUnit4RunListener.java:91)
      1 frame
    4. JUnit
      EachTestNotifier.fireTestStarted
      1. org.junit.runner.notification.SynchronizedRunListener.testStarted(SynchronizedRunListener.java:49)
      2. org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121)
      3. org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
      4. org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118)
      5. org.junit.internal.runners.model.EachTestNotifier.fireTestStarted(EachTestNotifier.java:42)
      5 frames
    5. Cucumber-JVM: JUnit
      FeatureRunner.runChild
      1. cucumber.runtime.junit.JUnitReporter.startExecutionUnit(JUnitReporter.java:50)
      2. cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:89)
      3. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
      4. cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
      4 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$3.run
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      1 frame
    9. SureFire JUnitCore Runner
      Scheduler$1.run
      1. org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:387)
      1 frame