KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:66) #3451

Open Frid-Yuandu opened 10 months ago

Frid-Yuandu commented 10 months ago

System

Plugin Version: 16.0.0 Application: IntelliJ IDEA Community Edition (2023.2.5) Operating System: Windows 11 (10.0)

Event

Exception

Stacktrace

com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation ``` com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:66) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:859) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:807) at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:369) at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:170) at com.intellij.psi.stubs.StubIndex.processElements(StubIndex.java:53) at org.elixir_lang.psi.__module__.PsiScopeProcessor.execute(PsiScopeProcessor.kt:41) at org.elixir_lang.psi.__module__.PsiScopeProcessor.execute(PsiScopeProcessor.kt:24) at org.elixir_lang.psi.impl.ProcessDeclarationsImpl.processDeclarations(ProcessDeclarationsImpl.kt:165) at org.elixir_lang.psi.impl.ElixirPsiImplUtil.processDeclarations(ElixirPsiImplUtil.java:615) at org.elixir_lang.psi.impl.ElixirUnmatchedUnqualifiedNoParenthesesCallImpl.processDeclarations(ElixirUnmatchedUnqualifiedNoParenthesesCallImpl.java:156) at com.intellij.psi.util.PsiTreeUtil.treeWalkUp(PsiTreeUtil.java:1271) at org.elixir_lang.psi.__module__.Resolver.resolve(Resolver.kt:18) at org.elixir_lang.psi.__module__.Resolver.resolve(Resolver.kt:13) at org.elixir_lang.psi.__module__.Resolver.resolve(Resolver.kt:11) at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolveWithCaching$1(ResolveCache.java:159) at com.intellij.openapi.util.Computable.get(Computable.java:16) at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$4(ResolveCache.java:234) at com.intellij.openapi.util.Computable.get(Computable.java:16) at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:213) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:158) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:145) at org.elixir_lang.psi.__module__.ResolveWithCachingComputable.compute(Reference.kt:46) at org.elixir_lang.psi.__module__.ResolveWithCachingComputable.compute(Reference.kt:40) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:909) at org.elixir_lang.psi.__module__.Reference.multiResolve(Reference.kt:30) at org.elixir_lang.ReferenceKt.safeMultiResolve(reference.kt:16) at org.elixir_lang.annotator.Callable$annotate$1.visitPlainCall(Callable.kt:99) at org.elixir_lang.annotator.Callable$annotate$1.visitNonModuleAttributeCall(Callable.kt:89) at org.elixir_lang.annotator.Callable$annotate$1.visitCall(Callable.kt:49) at org.elixir_lang.annotator.Callable$annotate$1.visitElement(Callable.kt:80) at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270) at org.elixir_lang.psi.impl.ElixirUnmatchedUnqualifiedNoArgumentsCallImpl.accept(ElixirUnmatchedUnqualifiedNoArgumentsCallImpl.java:39) at org.elixir_lang.annotator.Callable.annotate(Callable.kt:41) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:130) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:107) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:360) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$7(GeneralHighlightingPass.java:299) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:320) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$8(GeneralHighlightingPass.java:323) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:92) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:323) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:286) ```

Attachments

indexingStart.trace

Please copy the contents of the above path into this report: files are too long to include in the URL when opening the browser. You can get the exact contents of that path when the error occurred from the Attachments tab of the IDE Fatal Errors dialog that you had open before clicking the button to submit this issue.