Fix NPE after invoking failLastTest
Opened this issue · 0 comments
Grigory-Rylov commented
Caused by: java.lang.NullPointerException at com.github.grishberg.tests.commands.reports.xml.CustomTestRunListener.testFailed(CustomTestRunListener.java:96) at com.github.grishberg.tests.commands.reports.TestXmlReportsGenerator.testFailed(TestXmlReportsGenerator.java:66) at com.github.grishberg.tests.commands.reports.TestXmlReportsGenerator.failLastTest(TestXmlReportsGenerator.java:77) at com.github.grishberg.tests.commands.SingleInstrumentalTestCommand.executeImpl(SingleInstrumentalTestCommand.java:161) at com.github.grishberg.tests.commands.SingleInstrumentalTestCommand.execute(SingleInstrumentalTestCommand.java:187)