diff --git a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java index 6e17b411238e..579f7570f0a8 100644 --- a/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/notification/impl/NotificationsManagerImpl.java @@ -89,7 +89,7 @@ public class NotificationsManagerImpl extends NotificationsManager implements No @Override public T[] getNotificationsOfType(Class klass, @Nullable final Project project) { final List result = new ArrayList(); - if (project == null || !project.isDefault()) { + if (project == null || !project.isDefault() && !project.isDisposed()) { for (Notification notification : EventLog.getLogModel(project).getNotifications()) { if (klass.isInstance(notification)) { //noinspection unchecked