mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-25411 - NPE: TestNGConsoleView.finish
This commit is contained in:
@@ -125,7 +125,7 @@ public class TestNGConsoleView extends BaseTestsOutputConsoleView {
|
||||
}
|
||||
|
||||
public void finish() {
|
||||
if (currentTest != null) {
|
||||
if (currentTest != null && testNGResults != null) {
|
||||
final TestProxy failedToStart = testNGResults.getFailedToStart();
|
||||
if (failedToStart != null) {
|
||||
currentTest.addChild(failedToStart);
|
||||
|
||||
Reference in New Issue
Block a user