mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-33792 - assert: ComponentManagerImpl.getPicoContainer
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -237,7 +237,7 @@ public class DirectoryNode extends PackageDependenciesNode {
|
||||
|
||||
@Override
|
||||
public String getComment() {
|
||||
if (myVDirectory != null && myVDirectory.isValid()) {
|
||||
if (myVDirectory != null && myVDirectory.isValid() && !myProject.isDisposed()) {
|
||||
return ProjectViewDirectoryHelper.getInstance(myProject).getLocationString(getPsiDirectory());
|
||||
}
|
||||
return super.getComment();
|
||||
|
||||
Reference in New Issue
Block a user