We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8d977 commit c7c3424Copy full SHA for c7c3424
stepik-union/src/main/java/org/stepik/core/StepikProjectManager.java
@@ -128,6 +128,9 @@ public static StepikProjectManager getInstance(@NotNull final Project project) {
128
129
@Nullable
130
public static StudyNode getProjectRoot(@NotNull final Project project) {
131
+ if (project.isDisposed()) {
132
+ return null;
133
+ }
134
StepikProjectManager instance = getInstance(project);
135
136
if (instance == null) {
0 commit comments