Fork me on GitHub
#cursive
<
2020-06-08
>
wilkerlucio02:06:38

@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

t.denley10:06:43

Noticed the following error in the console after launching IntelliJ @cfleming -- anything to worry about?

t.denley10:06:43

Noticed the following error in the console after launching IntelliJ @cfleming -- anything to worry about?

cfleming08:06:11

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.

t.denley10:06:43

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 [email protected] and [email protected]
  which is 0th element of [[email protected], [email protected]] and [[email protected], [email protected]]

Recomputation gives [Lcursive.psi.resolve.ClojureResolveResult;@48f331ba (class [Lcursive.psi.resolve.ClojureResolveResult;) which is equivalent to 'fresh'
Recomputation log:
  Resolving [email protected] 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 [email protected] and [email protected]
  which is 0th element of [[email protected], [email protected]] and [[email protected], [email protected]]

Recomputation gives [Lcursive.psi.resolve.ClojureResolveResult;@48f331ba (class [Lcursive.psi.resolve.ClojureResolveResult;) which is equivalent to 'fresh'
Recomputation log:
  Resolving [email protected] 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 

t.denley10:06:43

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 [email protected] and [email protected]
  which is 0th element of [[email protected], [email protected]] and [[email protected], [email protected]]

Recomputation gives [Lcursive.psi.resolve.ClojureResolveResult;@48f331ba (class [Lcursive.psi.resolve.ClojureResolveResult;) which is equivalent to 'fresh'
Recomputation log:
  Resolving [email protected] 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 [email protected] and [email protected]
  which is 0th element of [[email protected], [email protected]] and [[email protected], [email protected]]

Recomputation gives [Lcursive.psi.resolve.ClojureResolveResult;@48f331ba (class [Lcursive.psi.resolve.ClojureResolveResult;) which is equivalent to 'fresh'
Recomputation log:
  Resolving [email protected] 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 

abdusalam01:06:37

yep, i've seen this error pop up a few times as well.