gregsh / Clojure-Kit

Clojure/ClojureScript plugin for IntelliJ-based IDEs
Other
248 stars 21 forks source link

Exception in IntelliJ IDEA 2021.2.2 Preview #38

Closed Mishail closed 2 years ago

Mishail commented 3 years ago
IntelliJ IDEA 2021.2.2 Preview (Ultimate Edition)
Build #IU-212.5284.19, built on September 1, 2021
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.5.2
Non-Bundled Plugins:... org.jetbrains.idea.clojure (2020.3.1)...
update failed for AnAction(com.intellij.ide.actions.CopyAbsolutePathProvider, id=CopyAbsolutePath) with text=Absolute Path

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:67)
    at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:821)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:773)
    at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:501)
    at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:305)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:100)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:88)
    at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30)
    at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:84)
    at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:110)
    at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:51)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:91)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:69)
    at org.intellij.clojure.java.JavaHelper$PsiHelper.findClass(clojure-psi-java.kt:133)
    at org.intellij.clojure.psi.impl.CSymbolReference.findClass(clojure-psi-resolve.kt:672)
    at org.intellij.clojure.psi.impl.CSymbolReference.processDeclarations(clojure-psi-resolve.kt:400)
    at org.intellij.clojure.psi.impl.CSymbolReference.multiResolveInner(clojure-psi-resolve.kt:257)
    at org.intellij.clojure.psi.impl.CSymbolReference$Companion$RESOLVER.resolve(clojure-psi-resolve.kt:200)
    at org.intellij.clojure.psi.impl.CSymbolReference$Companion$RESOLVER.resolve(clojure-psi-resolve.kt:199)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:154)
    at com.intellij.openapi.util.Computable.get(Computable.java:18)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$4(ResolveCache.java:260)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:237)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:154)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:169)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:162)
    at org.intellij.clojure.psi.impl.CSymbolReference.multiResolve(clojure-psi-resolve.kt:215)
    at com.intellij.psi.PsiPolyVariantReferenceBase.resolve(PsiPolyVariantReferenceBase.java:47)
    at org.intellij.clojure.psi.impl.CSymbolReference.resolve(clojure-psi-resolve.kt:195)
    at org.intellij.clojure.psi.impl.Clojure_psi_symbolsKt.resolveInfo(clojure-psi-symbols.kt:67)
    at org.intellij.clojure.lang.ClojureQualifiedNameProvider.adjustElementToCopy(clojure-language.kt:96)
    at com.intellij.ide.actions.QualifiedNameProviderUtil.adjustElementToCopy(QualifiedNameProviderUtil.java:16)
    at com.intellij.ide.actions.CopyReferenceUtil.adjustElement(CopyReferenceUtil.java:98)
    at com.intellij.ide.actions.CopyReferenceUtil.lambda$getElementsToCopy$0(CopyReferenceUtil.java:94)
    at com.intellij.util.containers.ContainerUtil.mapNotNull(ContainerUtil.java:1963)
    at com.intellij.ide.actions.CopyReferenceUtil.getElementsToCopy(CopyReferenceUtil.java:92)
    at com.intellij.ide.actions.CopyPathProvider.update(CopyPathProvider.kt:30)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:130)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:144)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:584)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$updateActionReal$7(ActionUpdater.java:132)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:176)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.updateActionReal(ActionUpdater.java:133)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$0(ActionUpdater.java:113)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.update(ActionUpdater.java:570)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater$UpdateSessionImpl.presentation(ActionUpdater.java:686)
    at com.intellij.openapi.actionSystem.ActionGroupUtil.lambda$getActiveActions$0(ActionGroupUtil.java:34)
    at com.intellij.util.containers.JBIterator$FilterOp.apply(JBIterator.java:310)
    at com.intellij.util.containers.JBIterator.peekNext(JBIterator.java:150)
    at com.intellij.util.containers.JBIterator.hasNext(JBIterator.java:110)
    at com.intellij.util.containers.JBIterable.isEmpty(JBIterable.java:780)
    at com.intellij.openapi.actionSystem.ActionGroupUtil.isGroupEmpty(ActionGroupUtil.java:21)
    at com.intellij.ide.actions.NonTrivialActionGroup.update(NonTrivialActionGroup.java:26)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:130)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:144)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:584)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$updateActionReal$7(ActionUpdater.java:132)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:176)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.updateActionReal(ActionUpdater.java:133)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$0(ActionUpdater.java:113)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.update(ActionUpdater.java:570)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:414)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$23(ActionUpdater.java:394)
    at com.intellij.util.TimeoutUtil.compute(TimeoutUtil.java:134)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$25(ActionUpdater.java:393)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1483)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:393)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:469)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$23(ActionUpdater.java:394)
    at com.intellij.util.TimeoutUtil.compute(TimeoutUtil.java:134)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$25(ActionUpdater.java:393)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1483)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:393)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.expandActionGroup(ActionUpdater.java:230)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$14(ActionUpdater.java:281)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$16(ActionUpdater.java:305)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1078)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$17(ActionUpdater.java:305)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:161)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$18(ActionUpdater.java:301)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
    at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:270)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$19(ActionUpdater.java:300)
    at com.intellij.codeWithMe.ClientId$Companion.withClientId(ClientId.kt:135)
    at com.intellij.codeWithMe.ClientId.withClientId(ClientId.kt)
    at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupAsync$20(ActionUpdater.java:298)
    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:184)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:829)
gregsh commented 2 years ago

Fixed in IntelliJ Platform in 5b69c65c3e336468f99a6b4aaeeccbe3491e8f0d