From 7ef50f65dc474ce7ba975fbabcc6b798e48abeec Mon Sep 17 00:00:00 2001 From: irengrig Date: Fri, 24 Jun 2011 17:48:40 +0400 Subject: [PATCH] EA-28354 java.lang.AssertionError: Already disposed: Project (Disposed) HMS092 at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:215) at com.intellij.openapi.vcs.FileStatusManager.getInstance(FileStatusManager.java:29) at com.intellij.cvsSupport2.CvsVcs2.fireFileStatusChanged(CvsVcs2.java:264) at com.intellij.cvsSupport2.CvsVcs2.entryChanged(CvsVcs2.java:259) at com.intellij.cvsSupport2.application.CvsEntriesManager.onEntryChanged(CvsEntriesManager.java:299) --- plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsVcs2.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsVcs2.java b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsVcs2.java index b0cacea64fdf..f969db0befbc 100644 --- a/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsVcs2.java +++ b/plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsVcs2.java @@ -241,6 +241,7 @@ public class CvsVcs2 extends AbstractVcs implements TransactionProvider, EditFil } public void entryChanged(VirtualFile file) { + if (myProject.isDisposed()) return; // invoke later is possible fireFileStatusChanged(file); VcsDirtyScopeManager.getInstance(getProject()).fileDirty(file); }