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

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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.apache.maven.surefire.report.SmartStackTraceParser.getClass()
  2. SureFire
    SmartStackTraceParser.<init>
    1. org.apache.maven.surefire.report.SmartStackTraceParser.getClass(SmartStackTraceParser.java:67)
    2. org.apache.maven.surefire.report.SmartStackTraceParser.<init>(SmartStackTraceParser.java:57)
    2 frames
  3. JUnit4 Provider
    JUnit4StackTraceWriter.smartTrimmedStackTrace
    1. org.apache.maven.surefire.common.junit4.JUnit4StackTraceWriter.smartTrimmedStackTrace(JUnit4StackTraceWriter.java:77)
    1 frame
  4. SureFire
    ForkingRunListener.testError
    1. org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:328)
    2. org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:312)
    3. org.apache.maven.surefire.booter.ForkingRunListener.toString(ForkingRunListener.java:258)
    4. org.apache.maven.surefire.booter.ForkingRunListener.testError(ForkingRunListener.java:132)
    4 frames
  5. JUnit4 Provider
    JUnit4RunListener.testFailure
    1. org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure(JUnit4RunListener.java:114)
    1 frame
  6. JUnit
    ParentRunner.run
    1. org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100)
    2. org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41)
    3. org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:97)
    4. org.junit.internal.runners.model.EachTestNotifier.addFailure(EachTestNotifier.java:26)
    5. org.junit.internal.runners.model.EachTestNotifier.addMultipleFailureException(EachTestNotifier.java:33)
    6. org.junit.internal.runners.model.EachTestNotifier.addFailure(EachTestNotifier.java:24)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:267)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    15 frames