This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-18
Channels
- # announcements (43)
- # aws (28)
- # babashka (32)
- # beginners (80)
- # calva (13)
- # chlorine-clover (2)
- # cider (11)
- # clj-kondo (15)
- # cljs-dev (1)
- # clojure (151)
- # clojure-dev (11)
- # clojure-europe (11)
- # clojure-italy (3)
- # clojure-losangeles (3)
- # clojure-nl (4)
- # clojure-spec (20)
- # clojure-uk (58)
- # clojured (3)
- # clojuredesign-podcast (2)
- # clojurescript (37)
- # core-async (4)
- # core-typed (1)
- # cursive (53)
- # datascript (5)
- # datomic (26)
- # duct (23)
- # emacs (3)
- # fulcro (22)
- # graalvm (1)
- # jobs (2)
- # joker (11)
- # juxt (24)
- # lumo (1)
- # mid-cities-meetup (2)
- # nyc (1)
- # off-topic (54)
- # parinfer (1)
- # reagent (13)
- # shadow-cljs (16)
- # sql (9)
- # tree-sitter (9)
- # vim (9)
I'm missing newly added dependencies from my repl, even after i do a Refresh Clojure Deps Projects and restart the REPL.
There is a suspicious thing going on though, because the classpath i see folded in the repl window, mentions the idea_rt.jar
multiple times, just with different values:
Starting nREPL server...
/nix/store/8p4ny5xj4p6363kak2h2nh3xnzk6d09p-zulu1.8.0_121-8.20.0.5/bin/java -Dclojure.libfile=/private/var/folders/dm/bjgtcwgx7nqfh3flbpq7m0qc0000gn/T/libfile4.libs "-javaagent:/Users/onetom/JetBrains/apps/IDEA-U/ch-0/201.5259.13/IntelliJ IDEA 2020.1 IDEA 2020.1 " "-javaagent:/Users/onetom/JetBrains/apps/IDEA-U/ch-0/201.5259.13/IntelliJ IDEA 2020.1 IDEA 2020.1 " "-javaagent:/Users/onetom/JetBrains/apps/IDEA-U/ch-0/201.5259.13/IntelliJ IDEA 2020.1 IDEA 2020.1 " -Dfile.encoding=UTF-8 -classpath "/Users/onetom/JetBrains/apps/IDEA-U/ch-0/201.5259.13/IntelliJ IDEA 2020.1 EAP.app.plugins/clojure-plugin/lib/nrepl-0.6.0.jar:test:src:rsc:/Users/onetom/.m2/repository/com/cognitect/transit-java/0.8.337/transit-java-0.8.337.jar:/Users/onetom/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.62/bcprov-jdk15on-1.62.jar:/Users/onetom/.m2/repository/buddy/buddy-core/1.6.0/buddy-core-1.6.0.jar:/Users/onetom/.m2/repository/org/clojure/data.json/0.2.7/data.json-0.2.7.jar:/Users/onetom/
My run config is:
• Local nREPL
• Run with Deps
° Aliases: expect,test
• Shorten command line: user-local default: none
After restarting IntelliJ, the problem went away.
Today it cropped up again, but it might be my fault this time, because I'm getting the same error from the command-line too:
clj -Aexpect:test -e "(require 'gini.system)"
I'm on Cursive 1.9.1-eap4-2020.1
, IntelliJ Build #IU-201.5259.13, built on February 13, 2020
Ok, I fixed my fault, but the issue persisted.
After restarting IntelliJ, the problem went away and I could require
the newly added dependency.
it has just happened again. i can not even cmd-shift-l a source file from my own code. i've just restarted my REPL session with cmd-r and this is all the classpath i get:
Starting nREPL server...
/nix/store/8p4ny5xj4p6363kak2h2nh3xnzk6d09p-zulu1.8.0_121-8.20.0.5/bin/java -Dclojure.libfile=/private/var/folders/dm/bjgtcwgx7nqfh3flbpq7m0qc0000gn/T/libfile621.libs "-javaagent:/Users/onetom/JetBrains/apps/IDEA-U/ch-0/201.5259.13/IntelliJ IDEA 2020.1 IDEA 2020.1 " "-javaagent:/Users/onetom/JetBrains/apps/IDEA-U/ch-0/201.5259.13/IntelliJ IDEA 2020.1 IDEA 2020.1 " -Dfile.encoding=UTF-8 -classpath /private/var/folders/dm/bjgtcwgx7nqfh3flbpq7m0qc0000gn/T/classpath1820877154.jar clojure.main -i /private/var/folders/dm/bjgtcwgx7nqfh3flbpq7m0qc0000gn/T/form-init1045387347113886493.clj
objc[50359]: Class JavaLaunchHelper is implemented in both /nix/store/8p4ny5xj4p6363kak2h2nh3xnzk6d09p-zulu1.8.0_121-8.20.0.5/bin/java (0x109ed84c0) and /nix/store/8p4ny5xj4p6363kak2h2nh3xnzk6d09p-zulu1.8.0_121-8.20.0.5/jre/lib/libinstrument.dylib (0x109f774e0). One of the two will be used. Which one is undefined.
Connecting to local nREPL server...
nREPL server started on port 61856 on host localhost -
Clojure 1.10.1
(there is that java error, but that's there for a long time and haven't caused any issues so far)ah, ive changed to that jar manifest option in the repl command line shortening option, that's why it's so short.
i've checked the file and it contains my src
dir, so that's not the problem:
$ unzip -c -l /private/var/folders/dm/bjgtcwgx7nqfh3flbpq7m0qc0000gn/T/classpath1780313107.jar META-INF/MANIFEST.MF | rg src
.jar file:/test file:/src file:/rsc file:/Users/onetom/.m2/repository/c
3cd336851b9/src/ file:/Users/onetom/.m2/repository/com/google/guava/gua
i've restarted my nrepl session and when i tried to load a namespace, it was complaining that its dependent namespaces couldn't be found. however, if i load them manually in dependency order, the cmd-shift-l operations succeed:
nREPL server started on port 62569 on host localhost -
Clojure 1.10.1
Loading src/gini/system.clj...
Syntax error (FileNotFoundException) compiling at (src/gini/system.clj:1:1).
Could not locate gini/datomic__init.class, gini/datomic.clj or gini/datomic.cljc on classpath.
Loading src/gini/datomic.clj...
Syntax error (FileNotFoundException) compiling at (src/gini/datomic.clj:1:1).
Could not locate gini/model__init.class, gini/model.clj or gini/model.cljc on classpath.
Loading src/gini/model.cljc... done
Loading src/gini/datomic.clj... done
Loading src/gini/system.clj... done
what i suspect the problem might be is that model.cljc
file.
i've seen weired resolution issues, when i was mixing cljc
files into my project...
if i've commented out the dependency on the cljc
file, then i could load my namespace, which was indirectly depend on it
seems like the issue might be related to
[hodur-engine.core :as hodur]
which is also a cljc namespacewhen i try to navigate to the source of the hodur-engine.core ns with cmd-b, i see 2 entries for it, which are seemingly the same
i've tried to isolate the problem in a minimal project, but it does not occur there, so it's not as trivial as i hoped. i've also upgraded hodur-engine from 0.1.6 to 0.1.7 but that didn't change the situation either
issue persists with cursive 1.9.1-eap5-2020.1
and 1.9.1-eap5-2019.3
downgrading to eap3
now
i cant even start the server, even in clojure.main mode or without any special aliases. im just consistently getting this error:
Error running 'XXX REPL': Deferred parameters have not been cached!
1.9.1-eap3-2019.3
(on IntelliJ 2019.3.2
though) works in both nREPL and clojure.main modes.
I found in EAP 5 that my repl actions don't become available in 'find action...' until I open and close the edit repl actions dialog
Just updated to 1.9.1-eap5-2020.1 (I'm running IDEA 2020.1 EAP), and editing is almost completely broken. Editor stops accepting keyboard input from time to time, and there is a file it just refuses to open. I think the problems correlate to exceptions being logged to the console. Is anyone else seeing the same issue? Should I open a github issue with the exceptions? I'll try to downgrade and see if the problem goes away.
@U5FEGMC4D I’d definitely be interested in seeing those exceptions, either here or in an issue - I can’t reproduce that.
Sorry, had to hunt around for the logs for a while. There are lots of exceptions like:
2020-02-18 12:04:01,248 [1757753] ERROR - n.impl.GeneralHighlightingPass - In file: file:///home/rafael/dev/nu/stem/stem-framework/src/stem/kafka/producing.clj
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'message' of com/intellij/codeInsight/daemon/impl/AnnotationHolderImpl.newAnnotation must not be null
at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.$$$reportNull$$$0(AnnotationHolderImpl.java)
at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.newAnnotation(AnnotationHolderImpl.java)
at cursive.editor.braceHighlighter.ClojureBraceHighlighter.annotate(ClojureBraceHighlighter.java:59)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:349)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:283)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:312)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:93)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:312)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:280)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:225)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:83)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:971)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:577)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:523)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:158)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:156)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
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-02-18 12:04:01,248 [1757753] ERROR - n.impl.GeneralHighlightingPass - IntelliJ IDEA 2020.1 EAP Build #IU-201.3803.71
2020-02-18 12:04:01,249 [1757754] ERROR - n.impl.GeneralHighlightingPass - JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-02-18 12:04:01,249 [1757754] ERROR - n.impl.GeneralHighlightingPass - OS: Linux
2020-02-18 12:04:01,249 [1757754] ERROR - n.impl.GeneralHighlightingPass - Plugin to blame: Cursive version: 1.9.1-eap5-2020.1
2020-02-18 12:04:01,249 [1757754] ERROR - n.impl.GeneralHighlightingPass - Last Action: EditorPaste
2020-02-18 12:04:01,252 [1757757] ERROR - n.impl.GeneralHighlightingPass - In file: file:///home/rafael/dev/nu/stem/stem-framework/test/stem/integration_test.clj
2020-02-18 12:08:32,670 [ 58896] ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2020.1 EAP Build #IU-201.3803.71
2020-02-18 12:08:32,670 [ 58896] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-02-18 12:08:32,670 [ 58896] ERROR - llij.ide.plugins.PluginManager - OS: Linux
2020-02-18 12:08:32,670 [ 58896] ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Cursive version: 1.9.1-eap5-2020.1
2020-02-18 12:08:32,671 [ 58897] ERROR - llij.ide.plugins.PluginManager - Last Action: Tree-selectNext
2020-02-18 12:08:33,130 [ 59356] ERROR - mpl.search.PsiSearchHelperImpl - Error during processing of: integration_test.clj
java.lang.NoSuchMethodError: com.intellij.AbstractBundle.message(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
at cursive.ClojureBundle.message(ClojureBundle.java:26)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:141)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:136)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:136)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:136)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:136)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:136)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parseExpressions(ClojureParser.java:136)
at cursive.parser.ClojureParser.parseList(ClojureParser.java:405)
at cursive.parser.ClojureParser.parseExpression(ClojureParser.java:67)
at cursive.parser.ClojureParser.parse(ClojureParser.java:58)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:75)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:53)
at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$0(LazyParseableElement.java:189)
at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:565)
at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:188)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:237)
at com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:139)
at com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:46)
at com.intellij.psi.impl.search.LowLevelSearchUtil.findNextLeafElementAt(LowLevelSearchUtil.java:122)
at com.intellij.psi.impl.search.LowLevelSearchUtil.processOffsets(LowLevelSearchUtil.java:196)
at com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsAtOffsets(LowLevelSearchUtil.java:178)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$4.execute(PsiSearchHelperImpl.java:841)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$2.processInReadAction(PsiSearchHelperImpl.java:240)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$2.processInReadAction(PsiSearchHelperImpl.java:231)
at com.intellij.openapi.application.ReadActionProcessor.lambda$process$0(ReadActionProcessor.java:28)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:795)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
at com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:28)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$processCandidates$14(PsiSearchHelperImpl.java:801)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$processVirtualFile$6(PsiSearchHelperImpl.java:454)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:966)
at com.intellij.openapi.application.ex.ApplicationUtil.tryRunReadAction(ApplicationUtil.java:25)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.processVirtualFile(PsiSearchHelperImpl.java:438)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$processPsiFileRoots$2(PsiSearchHelperImpl.java:314)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$null$3(PsiSearchHelperImpl.java:387)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:158)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:156)
at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$processFilesConcurrentlyDespiteWriteActions$4(PsiSearchHelperImpl.java:386)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:162)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:162)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:162)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:971)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:577)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:523)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
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:158)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:156)
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-02-18 12:08:33,131 [ 59357] ERROR - mpl.search.PsiSearchHelperImpl - IntelliJ IDEA 2020.1 EAP Build #IU-201.3803.71
2020-02-18 12:08:33,131 [ 59357] ERROR - mpl.search.PsiSearchHelperImpl - JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-02-18 12:08:33,131 [ 59357] ERROR - mpl.search.PsiSearchHelperImpl - OS: Linux
2020-02-18 12:08:33,132 [ 59358] ERROR - mpl.search.PsiSearchHelperImpl - Plugin to blame: Cursive version: 1.9.1-eap5-2020.1
2020-02-18 12:08:33,132 [ 59358] ERROR - mpl.search.PsiSearchHelperImpl - Last Action: Tree-selectNext
I'm not sure right now, but I believe this latter one was when I tried to open the file in question and it wouldn't even open (after I downgraded and opened the file, I noticed it had unbalanced parentheses - I'm using paredit - but I failed to capture the contents at the time, sorry)
2020-02-19 10:51:36,126 [ 821275] ERROR - aemon.impl.PassExecutorService - Abandoned AnnotationBuilder - its 'create()' method was never called: Builder{message='null', myCurrentElement=PsiElement((), severity=INFORMATION, range=(0,1), enforcedAttributes=[java.awt.Color[r=170,g=170,b=170],null,0,BOXED,null,{},null]}
java.lang.IllegalStateException: Abandoned AnnotationBuilder - its 'create()' method was never called: Builder{message='null', myCurrentElement=PsiElement((), severity=INFORMATION, range=(0,1), enforcedAttributes=[java.awt.Color[r=170,g=170,b=170],null,0,BOXED,null,{},null]}
at com.intellij.codeInsight.daemon.impl.B.assertAnnotationCreated(B.java:325)
at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.assertAllAnnotationsCreated(AnnotationHolderImpl.java:219)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:98)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:312)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:280)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:225)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:83)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:971)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:577)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:523)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:158)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:156)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
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-02-19 10:51:36,127 [ 821276] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 2020.1 EAP Build #IU-201.3803.71
2020-02-19 10:51:36,127 [ 821276] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-02-19 10:51:36,127 [ 821276] ERROR - aemon.impl.PassExecutorService - OS: Linux
2020-02-19 10:51:36,127 [ 821276] ERROR - aemon.impl.PassExecutorService - Last Action: EditorUp
Most key presses do work, but I can consistently reproduce one case where the input is ignored.
Uploaded here (https://pastebin.com/DwjLr9v0) the logs for one editing session where I reproduced the problem with #
on a new file (containing just a bare namespace declaration)
After working for several hours with 1.9.1-eap4, idea completely froze while editing, but it looks like it's a different bug. The logs point to a StackOverflowException: https://pastebin.com/N7TsQG0i
Thanks, I’m going to investigate all that today. Just checking - do you have rainbow parens on?
Ok, thanks for all that. I’ve fixed the rainbow parens issues, but I cannot reproduce or figure out the NoSuchMethodError one. I’ll keep digging.
That's great, thanks. I thought it could have something to do with the new JetBrains font with ligatures, but I turned off ligatures and the problem remained.
In 1.9.1-eap5-2019.3, I cannot close the REPL tab by pressing the tab. Trying to start a new REPL gives the following error:
17:09 Error running 'REPL': Receiver class cursive.repl.toolwindow$repl_listener$reify__11844 does not define or inherit an implementation of the resolved method 'abstract void contentAdded(com.intellij.ui.content.ContentManagerEvent)' of interface com.intellij.ui.content.ContentManagerListener.
java.lang.NullPointerException
at clojure.core$deref_future.invokeStatic(core.clj:2300)
at clojure.core$deref.invokeStatic(core.clj:2320)
at clojure.core$deref.invoke(core.clj:2306)
at cursive.inspections.symbol$fn__7554.invokeStatic(symbol.clj:161)
at cursive.inspections.symbol$fn__7554.invoke(symbol.clj:118)
at cursive.inspections.symbol$fn__7522$G__7517__7529.invoke(symbol.clj:107)
at cursive.inspections.symbol$deprecated_api.invokeStatic(symbol.clj:175)
at cursive.inspections.symbol$deprecated_api.invoke(symbol.clj:170)
at clojure.lang.Var.invoke(Var.java:393)
at cursive.api.DelayedFn.invoke(DelayedFn.java:41)
at cursive.inspections.ClInspectionVisitor.visitElement(ClInspectionVisitor.java:29)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:274)
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:77)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$6(LocalInspectionsPass.java:332)
at com.intellij.util.AstLoadingFilter.lambda$toComputable$2(AstLoadingFilter.java:167)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:125)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:114)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:109)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitRestElementsAndCleanup$7(LocalInspectionsPass.java:331)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:148)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:997)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116)
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:157)
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)
I have the same abstract error with my shadow CLJS repl config. I’ll downgrade to unblock
I can’t reproduce the abstract method error, nor do I have a plausible explanation for how it could happen. Does anyone have a stacktrace for that in their logs?
Sometimes I don’t get the stacktrace, but just a red box in the corner. Here a some minimal steps of what I do and what happens: 1. Create a new empty deps project. Everytime it is opened, the following errors happens:
Cannot create listener
com.intellij.diagnostic.PluginException: Cannot create listener cursive.notifications.LeiningenProjectNotificationProvider$Listener [Plugin: com.cursiveclojure.cursive]
at com.intellij.serviceContainer.PlatformComponentManagerImpl.createListener(PlatformComponentManagerImpl.kt:559)
at com.intellij.util.messages.impl.MessageBusImpl.subscribeLazyListeners(MessageBusImpl.java:212)
at com.intellij.util.messages.impl.MessageBusImpl.syncPublisher(MessageBusImpl.java:193)
at cursive.build.BuildSystemProjectsManager$onChange$1.run(BuildSystemManager.kt:101)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:324)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:314)
at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:264)
at com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(EdtInvocationManager.java:57)
at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2438)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:275)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:233)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:231)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:371)
at com.intellij.util.Alarm$Request.run(Alarm.java:358)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:217)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:441)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:424)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: cursive.notifications.LeiningenProjectNotificationProvider$Listener PluginClassLoader[com.cursiveclojure.cursive, 1.9.1-eap5-2019.3] [email protected]
at .PluginClassLoader.loadClass(PluginClassLoader.java:77)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.createListener(PlatformComponentManagerImpl.kt:556)
... 37 more
2. Create a REPL run config (nREPL + run with deps). Start it and then close it by pressing the cross (Close REPL tab). The REPL shuts down, but the tab doesn’t close and the following error happens:
java.lang.AbstractMethodError: Receiver class cursive.repl.toolwindow$repl_listener$reify__11844 does not define or inherit an implementation of the resolved method 'abstract void selectionChanged(com.intellij.ui.content.ContentManagerEvent)' of interface com.intellij.ui.content.ContentManagerListener.
at jdk.internal.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:130)
at com.intellij.util.EventDispatcher.access$000(EventDispatcher.java:24)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:88)
at com.sun.proxy.$Proxy117.selectionChanged(Unknown Source)
at com.intellij.ui.content.impl.ContentManagerImpl.fireSelectionChanged(ContentManagerImpl.java:556)
at com.intellij.ui.content.impl.ContentManagerImpl.removeFromSelection(ContentManagerImpl.java:391)
at com.intellij.ui.content.impl.ContentManagerImpl.doRemoveContent(ContentManagerImpl.java:208)
at com.intellij.ui.content.impl.ContentManagerImpl.removeContent(ContentManagerImpl.java:171)
at com.intellij.ui.content.impl.ContentManagerImpl.removeContent(ContentManagerImpl.java:164)
at cursive.repl.toolwindow$close_action$fn__11908.invoke(toolwindow.clj:341)
at cursive.actions$dumb_aware$fn__167.invoke(actions.clj:88)
at cursive.actions.proxy$com.intellij.openapi.project.DumbAwareAction$ClojureAction$WithShortcutSet$d4627f96.actionPerformed(Unknown Source)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:298)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:315)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:289)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:194)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:157)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:447)
at java.desktop/java.awt.Component.processEvent(Component.java:6416)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:846)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:778)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
3. Subsequent clicks to close the REPL tab do nothing. Trying to restart the REPL shows an error:
@cfleming The issue appears to have been solved in 1.9.1-eap8-2019.3. I don’t receive any errors anymore 😃
@cfleming The issue appears to have been solved in 1.9.1-eap8-2019.3. I don’t receive any errors anymore 😃