java.lang.NullPointerException

GitHub | irobertson | 5 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

    testNG not creating HTML report

    GitHub | 2 years ago | rab2215
    java.lang.NullPointerException
  2. 0

    testNG not creating HTML report

    Google Groups | 2 years ago | Randall Brunson
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NPE in 6.5.1

    GitHub | 5 years ago | ash2k
    java.lang.reflect.InvocationTargetException

    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.NullPointerException

      No message provided

      at org.testng.reporters.JUnitXMLReporter.getPackages()
    2. TestNG
      TestNG.run
      1. org.testng.reporters.JUnitXMLReporter.getPackages(JUnitXMLReporter.java:195)
      2. org.testng.reporters.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:161)
      3. org.testng.reporters.JUnitXMLReporter.onFinish(JUnitXMLReporter.java:118)
      4. org.testng.TestRunner.fireEvent(TestRunner.java:1200)
      5. org.testng.TestRunner.afterRun(TestRunner.java:991)
      6. org.testng.TestRunner.run(TestRunner.java:604)
      7. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      10. org.testng.SuiteRunner.run(SuiteRunner.java:268)
      11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1264)
      14. org.testng.TestNG.runSuitesLocally(TestNG.java:1189)
      15. org.testng.TestNG.runSuites(TestNG.java:1104)
      16. org.testng.TestNG.run(TestNG.java:1076)
      16 frames
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:132)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:147)
      4 frames
    4. 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