stubs: self-recover after StubUpdatingIndex & stub index mismatch
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Wed, 12 Aug 2020 10:14:04 +0000 (13:14 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 12 Aug 2020 11:40:34 +0000 (11:40 +0000)
GitOrigin-RevId: dc2695736e11d4fbb411fa29f451859657f47650

platform/lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java

index a3f0bc26993505dcfd95093ddb6700d17b1a479b..e3379fab37f0ff5c3703d5c995fe82858a6e5f6a 100644 (file)
@@ -321,6 +321,7 @@ public final class StubIndexImpl extends StubIndexEx {
         );
         if (list == null) {
           LOG.error("StubUpdatingIndex & " + indexKey + " stub index mismatch. No stub index key is present");
+          myStubProcessingHelper.onInternalError(file);
           continue;
         }
         for (VirtualFile eachFile : filesInScope) {