diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java index e0d06b82b14f..ba7bc9d08159 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java @@ -84,7 +84,7 @@ public class GotoTypeDeclarationAction extends BaseCodeInsightAction implements private static void navigate(@NotNull Project project, @NotNull PsiElement symbolType) { PsiElement element = symbolType.getNavigationElement(); - assert element != null; + assert element != null : "SymbolType :"+symbolType+"; file: "+symbolType.getContainingFile(); VirtualFile file = element.getContainingFile().getVirtualFile(); if (file != null) { OpenFileDescriptor descriptor = new OpenFileDescriptor(project, file, element.getTextOffset());