KronicDeth / intellij-elixir

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

Exception while: debugging and clicking "continue to cursor/line" #3645

Open szymon-jez opened 3 weeks ago

szymon-jez commented 3 weeks ago

System

Plugin Version: 19.0.0 Application: IntelliJ IDEA Community Edition (2024.2.0.2) Operating System: Mac OS X (14.5)

Event

Exception

Stacktrace

com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation. Dumb mode start trace is in the cause. ``` com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation. Dumb mode start trace is in the cause. at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:68) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:879) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:827) at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:358) at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:168) at com.intellij.psi.stubs.StubIndex.processElements(StubIndex.java:58) 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:1264) 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:167) at com.intellij.openapi.util.Computable.get(Computable.java:16) at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$4(ResolveCache.java:242) at com.intellij.openapi.util.Computable.get(Computable.java:16) at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:221) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:166) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:148) 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.AnyThreadWriteThreadingSupport.runReadAction$lambda$3(AnyThreadWriteThreadingSupport.kt:219) at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:228) at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:219) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:852) 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.AnnotationHolderImpl.runAnnotatorWithContext(AnnotationHolderImpl.java:216) at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotator$3(AnnotatorRunner.java:139) at com.intellij.codeInsight.daemon.impl.AnnotationSessionImpl.computeWithSession(AnnotationSessionImpl.java:87) at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.runAnnotator(AnnotatorRunner.java:129) at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotatorsAsync$0(AnnotatorRunner.java:66) at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965) at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotatorsAsync$1(AnnotatorRunner.java:66) at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:494) ```
joshuataylor commented 3 weeks ago

Assigned this to me, but if anyone else wants to take a look -- feel free!