This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-08
Channels
- # announcements (7)
- # babashka (44)
- # beginners (162)
- # cider (22)
- # clara (11)
- # clj-kondo (14)
- # cljsrn (8)
- # clojure (91)
- # clojure-dev (24)
- # clojure-europe (6)
- # clojure-france (4)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-spec (11)
- # clojure-uk (14)
- # clojurescript (92)
- # community-development (1)
- # core-logic (1)
- # cryogen (1)
- # cursive (6)
- # data-science (3)
- # datahike (3)
- # datomic (32)
- # degree9 (3)
- # dirac (3)
- # emacs (9)
- # eql (1)
- # events (1)
- # find-my-lib (1)
- # fulcro (67)
- # graphql (13)
- # helix (9)
- # jobs (1)
- # jobs-discuss (92)
- # leiningen (31)
- # malli (8)
- # meander (3)
- # news-and-articles (1)
- # off-topic (46)
- # pathom (2)
- # practicalli (1)
- # re-frame (52)
- # reitit (12)
- # shadow-cljs (40)
- # spacemacs (10)
- # sql (4)
- # xtdb (8)
@cfleming idea, I just wanted to have a list of all indexed keywords in the project, have you consider having some UI to just list all keywords indexed in the project? I'm thinking this could be a nice way to explore then
Noticed the following error in the console after launching IntelliJ @cfleming -- anything to worry about?
It’s something for me to worry about, but not for you. Currently my symbol resolution code uses thread-bound locals, and apparently that’s not allowed. 2020.1 started outputting those warnings. I’m not sure how I’m going to fix that yet.
2020-06-08 11:22:47,586 [ 40898] ERROR - tellij.util.IdempotenceChecker - Non-idempotent computation: it returns different results when invoked multiple times or on different threads:
class cursive.psi.impl.synthetic.ClNamespace != class cursive.psi.impl.synthetic.ClNamespaceAlias
which is class of Namespace: server-dev and Namespace alias server-dev (server-dev)
which is element of cursive.psi.resolve.ClojureResolveResultImpl@4e5b9e0f and cursive.psi.resolve.ClojureResolveResultImpl@593d2cd4
which is 0th element of [cursive.psi.resolve.ClojureResolveResultImpl@4e5b9e0f, cursive.psi.resolve.ClojureResolveResultImpl@79a27edc] and [cursive.psi.resolve.ClojureResolveResultImpl@593d2cd4, cursive.psi.resolve.ClojureResolveResultImpl@4a412dfb]
Recomputation gives [Lcursive.psi.resolve.ClojureResolveResult;@48f331ba (class [Lcursive.psi.resolve.ClojureResolveResult;) which is equivalent to 'fresh'
Recomputation log:
Resolving cursive.psi.impl.symbols.SymbolReference@6634b9b of class cursive.psi.impl.symbols.SymbolReference
java.lang.Throwable: Non-idempotent computation: it returns different results when invoked multiple times or on different threads:
class cursive.psi.impl.synthetic.ClNamespace != class cursive.psi.impl.synthetic.ClNamespaceAlias
which is class of Namespace: server-dev and Namespace alias server-dev (server-dev)
which is element of cursive.psi.resolve.ClojureResolveResultImpl@4e5b9e0f and cursive.psi.resolve.ClojureResolveResultImpl@593d2cd4
which is 0th element of [cursive.psi.resolve.ClojureResolveResultImpl@4e5b9e0f, cursive.psi.resolve.ClojureResolveResultImpl@79a27edc] and [cursive.psi.resolve.ClojureResolveResultImpl@593d2cd4, cursive.psi.resolve.ClojureResolveResultImpl@4a412dfb]
Recomputation gives [Lcursive.psi.resolve.ClojureResolveResult;@48f331ba (class [Lcursive.psi.resolve.ClojureResolveResult;) which is equivalent to 'fresh'
Recomputation log:
Resolving cursive.psi.impl.symbols.SymbolReference@6634b9b of class cursive.psi.impl.symbols.SymbolReference
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:146)
at com.intellij.util.IdempotenceChecker.reportFailure(IdempotenceChecker.java:91)
at com.intellij.util.IdempotenceChecker.checkEquivalence(IdempotenceChecker.java:78)
at com.intellij.psi.impl.source.resolve.ResolveCache.cache(ResolveCache.java:286)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:214)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:152)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:167)
at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:160)
at cursive.psi.impl.symbols.SymbolReference.multiResolve(SymbolReference.java:60)
at cursive.resolve$resolve.invokeStatic(resolve.clj:54)
at cursive.resolve$resolve.invoke(resolve.clj:51)
at cursive.resolve$resolve_keys.invokeStatic(resolve.clj:192)
at cursive.resolve$resolve_keys.invoke(resolve.clj:179)
at cursive.inspections.unused$unused_requires.invokeStatic(unused.clj:205)
at cursive.inspections.unused$unused_requires.invoke(unused.clj:203)
at cursive.inspections.unused.UnusedRequire$reify__13972.visitElement(unused.clj:260)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:273)
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:69)
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:60)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:297)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$3(LocalInspectionsPass.java:266)
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:155)
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:147)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$4(LocalInspectionsPass.java:265)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:265)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:162)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117)
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
2020-06-08 11:22:47,594 [ 40906] ERROR - tellij.util.IdempotenceChecker - IntelliJ IDEA 2020.1.2 Build #IC-201.7846.76
2020-06-08 11:22:47,594 [ 40906] ERROR - tellij.util.IdempotenceChecker - JDK: 11.0.7; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-06-08 11:22:47,594 [ 40906] ERROR - tellij.util.IdempotenceChecker - OS: Linux
2020-06-08 11:22:47,594 [ 40906] ERROR - tellij.util.IdempotenceChecker - Plugin to blame: Cursive version: 1.9.2-eap5-2020.1
2020-06-08 11:22:47,594 [ 40906] ERROR - tellij.util.IdempotenceChecker - Last Action: About
Hmm, I see you have raised this question here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007579760-Idempotency-errors-under-2020-1