From 742cbbd4efd588c2647200ef456f8f41b4ff6991 Mon Sep 17 00:00:00 2001 From: Oleg Sukhodolsky Date: Tue, 16 Apr 2013 17:22:03 +0400 Subject: [PATCH] DocumentationManager.findTargeElement() can be executed when index is not ready, so let's catch INRE and return null --- .../documentation/DocumentationManager.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationManager.java b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationManager.java index db25bf50d72a..b1a1548338f6 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationManager.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationManager.java @@ -528,6 +528,21 @@ public class DocumentationManager extends DockablePopupManager