jeudi 26 février 2015

Exception while running testNG reports

I am getting the below exception while running my testNG test cases.



[TestNG] Reporter org.uncommons.reportng.HTMLReporter@527740a2 failed
org.uncommons.reportng.ReportNGException: Failed generating HTML report.
at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:122)
at org.testng.TestNG.generateReports(TestNG.java:1115)
at org.testng.TestNG.run(TestNG.java:1074)
at com.flipkart.cid.cs.Trigger.run(Trigger.java:98)
at com.flipkart.cid.cs.Trigger.main(Trigger.java:135)
Caused by: java.lang.NullPointerException
at org.uncommons.reportng.TestResultComparator.compare(TestResultComparator.java:29)
at org.uncommons.reportng.TestResultComparator.compare(TestResultComparator.java:25)
at java.util.Collections.indexedBinarySearch(Collections.java:332)
at java.util.Collections.binarySearch(Collections.java:320)
at org.uncommons.reportng.HTMLReporter.sortByTestClass(HTMLReporter.java:243)
at org.uncommons.reportng.HTMLReporter.createResults(HTMLReporter.java:193)
at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:114)
... 4 more

Aucun commentaire:

Enregistrer un commentaire