mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-87951 - NPE: SMTestRunnerResultsForm$MySaveHistoryTask.lambda$writeState$
This commit is contained in:
+1
-1
@@ -797,7 +797,7 @@ public class SMTestRunnerResultsForm extends TestResultsPanel
|
||||
// read action to prevent project (and storage) from being disposed
|
||||
ApplicationManager.getApplication().runReadAction(() -> {
|
||||
Project project = getProject();
|
||||
if (project.isDisposed()) return;
|
||||
if (project.isDisposed() || myRoot == null) return;
|
||||
TestStateStorage storage = TestStateStorage.getInstance(project);
|
||||
List<SMTestProxy> tests = myRoot.getAllTests();
|
||||
for (SMTestProxy proxy : tests) {
|
||||
|
||||
Reference in New Issue
Block a user