cursive

Issues at: https://git.io/cursive-issues
daniel.spaniel 2020-12-16T18:14:48.410600Z

I really like the new REPL tabs label concept. At first it worked fine, then now the labels collapse and they are blank. Has anyone seen this ? I am on the latest intellij 2020.3 built on Nov 20 2020

2020-12-16T18:19:56.411400Z

I had that when I first upgraded, I fixed it by opening each run config and filling in the Display Name field (which is new and probably empty).

daniel.spaniel 2020-12-16T18:41:09.413200Z

Ah, so i had them already filled in, and when i upgraded (it showed X on the label in the config dropdown ) seems like you need to resave that REPL after touching the label ( retype the last char ) and then save .. and then it shows up .. odd .. but ok .. back in business

cfleming 2020-12-16T18:41:49.413700Z

Yes, this is the IntelliJ bug with the run config migrations I mentioned in the release email.

daniel.spaniel 2020-12-16T18:42:06.414200Z

oh .. man .. 🤦 did not read that .. sorry

cfleming 2020-12-16T18:51:00.414800Z

No worries, it’s still not entirely obvious that that is the cause even if you did read it!

hadils 2020-12-16T20:09:04.417Z

I find that symbols in datomic.ion and datomic.ion-dev do not get resolved by Intellij/Cursive (2020.3 Nov 20, 2020) because I have a repo definition in deps.edn. This is causing my stub generation to crash as well as showing these symbols as undefined. Anyone have a solution to this?

cfleming 2020-12-17T23:39:00.425400Z

What’s the error you get from stub generation? You should be able to see it in the log file at Help | Show log in Finder/Explorer

hadils 2020-12-18T01:55:30.425600Z

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/hadilsabbagh/.m2/repository/org/slf4j/slf4j-nop/1.7.25/slf4j-nop-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/hadilsabbagh/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See <http://www.slf4j.org/codes.html#multiple_bindings> for an explanation.
SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at clojure.lang.RT.classForName(RT.java:2211)
at clojure.lang.RT.classForName(RT.java:2220)
at clojure.lang.RT.loadClassForName(RT.java:2239)
at clojure.lang.RT.load(RT.java:449)
at clojure.lang.RT.load(RT.java:424)
at clojure.core$load$fn__6839.invoke(core.clj:6126)
at clojure.core$load.invokeStatic(core.clj:6125)
at clojure.core$load.doInvoke(core.clj:6109)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5908)
at clojure.core$load_one.invoke(core.clj:5903)
at clojure.core$load_lib$fn__6780.invoke(core.clj:5948)
at clojure.core$load_lib.invokeStatic(core.clj:5947)
at clojure.core$load_lib.doInvoke(core.clj:5928)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$load_libs.invokeStatic(core.clj:5985)
at clojure.core$load_libs.doInvoke(core.clj:5969)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$require.invokeStatic(core.clj:6007)
at clojure.core$require.doInvoke(core.clj:6007)
at clojure.lang.RestFn.invoke(RestFn.java:930)
at datomic.ion.dev.bundle$loading__6721__auto____6441.invoke(bundle.clj:3)
at datomic.ion.dev.bundle__init.load(Unknown Source)
at datomic.ion.dev.bundle__init. (Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at clojure.lang.RT.classForName(RT.java:2211)
at clojure.lang.RT.classForName(RT.java:2220)
at clojure.lang.RT.loadClassForName(RT.java:2239)
at clojure.lang.RT.load(RT.java:449)
at clojure.lang.RT.load(RT.java:424)
at clojure.core$load$fn__6839.invoke(core.clj:6126)
at clojure.core$load.invokeStatic(core.clj:6125)
at clojure.core$load.doInvoke(core.clj:6109)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5908)

at clojure.core$load_one.invoke(core.clj:5903)
at clojure.core$load_lib$fn__6780.invoke(core.clj:5948)

at clojure.core$load_lib.invokeStatic(core.clj:5947)
at clojure.core$load_lib.doInvoke(core.clj:5928)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$load_libs.invokeStatic(core.clj:5985)
at clojure.core$load_libs.doInvoke(core.clj:5969)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$require.invokeStatic(core.clj:6007)
at clojure.core$require.doInvoke(core.clj:6007)
at clojure.lang.RestFn.invoke(RestFn.java:2088)
at datomic.ion.dev$loading__6721__auto____6274.invoke(dev.clj:3)
at datomic.ion.dev__init.load(Unknown Source)
at datomic.ion.dev__init. (Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at clojure.lang.RT.classForName(RT.java:2211)
at clojure.lang.RT.classForName(RT.java:2220)
at clojure.lang.RT.loadClassForName(RT.java:2239)
at clojure.lang.RT.load(RT.java:449)
at clojure.lang.RT.load(RT.java:424)
at clojure.core$load$fn__6839.invoke(core.clj:6126)
at clojure.core$load.invokeStatic(core.clj:6125)
at clojure.core$load.doInvoke(core.clj:6109)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5908)
at clojure.core$load_one.invoke(core.clj:5903)
at clojure.core$load_lib$fn__6780.invoke(core.clj:5948)
at clojure.core$load_lib.invokeStatic(core.clj:5947)
at clojure.core$load_lib.doInvoke(core.clj:5928)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$load_libs.invokeStatic(core.clj:5985)
at clojure.core$load_libs.doInvoke(core.clj:5969)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$require.invokeStatic(core.clj:6007)
at clojure.core$require.doInvoke(core.clj:6007)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at cursive.stubs.metadata.clojure$read_ns.invokeStatic(clojure.clj:65)
at cursive.stubs.metadata.clojure$read_ns.invoke(clojure.clj:64)
at user$eval15051.invokeStatic(create-stub15273084368453599599.clj:5)
at user$eval15051.invoke(create-stub15273084368453599599.clj:5)
at clojure.lang.Compiler.eval(Compiler.java:7177)
at clojure.lang.Compiler.load(Compiler.java:7636)
at clojure.lang.Compiler.loadFile(Compiler.java:7574)
at clojure.main$load_script.invokeStatic(main.clj:475)
at clojure.main$init_opt.invokeStatic(main.clj:477)
at clojure.main$init_opt.invoke(main.clj:477)
at clojure.main$initialize.invokeStatic(main.clj:508)
at clojure.main$null_opt.invokeStatic(main.clj:542)
at clojure.main$null_opt.invoke(main.clj:539)
at clojure.main$main.invokeStatic(main.clj:664)
at clojure.main$main.doInvoke(main.clj:616)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:40)
Caused by: java.io.FileNotFoundException: Could not locate clojure/tools/deps/alpha/reader__init.class, clojure/tools/deps/alpha/reader.clj or clojure/tools/deps/alpha/reader.cljc on classpath.
at clojure.lang.RT.load(RT.java:462)
at clojure.lang.RT.load(RT.java:424)
at clojure.core$load$fn__6839.invoke(core.clj:6126)
at clojure.core$load.invokeStatic(core.clj:6125)
at clojure.core$load.doInvoke(core.clj:6109)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5908)
at clojure.core$load_one.invoke(core.clj:5903)
at clojure.core$load_lib$fn__6780.invoke(core.clj:5948)
at clojure.core$load_lib.invokeStatic(core.clj:5947)

at clojure.core$load_lib.doInvoke(core.clj:5928)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$load_libs.invokeStatic(core.clj:5985)
at clojure.core$load_libs.doInvoke(core.clj:5969)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$require.invokeStatic(core.clj:6007)
at clojure.core$require.doInvoke(core.clj:6007)
at clojure.lang.RestFn.invoke(RestFn.java:1289)
at datomic.ion.dev.classpath$loading__6721__auto____6519.invoke(classpath.clj:3)
at datomic.ion.dev.classpath__init.load(Unknown Source)
at datomic.ion.dev.classpath__init. (Unknown Source)
... 99 more
Disable stub generation for module stackz-ion

cfleming 2020-12-18T03:07:44.426400Z

Hmm, that’s not a very useful error message. Are you able to share this project so I can take a look at it?

hadils 2020-12-18T14:51:59.441100Z

No, it's proprietary, sorry. I can show you parts of it...tell me what you would like to see in particular, if possible...

hadils 2020-12-18T14:55:14.441300Z

Here's my deps.edn file:

hadils 2020-12-18T15:25:16.441700Z

The problem centers around datomic.ion-dev

cfleming 2020-12-19T04:09:58.442700Z

Thanks. I’m travelling tomorrow but I’ll try to look at this next week.

asilverman 2020-12-16T20:28:38.417600Z

@cfleming Cursive debugger no longer stops at breakpoints for my project, can I please get some help?

cfleming 2020-12-17T23:38:00.425200Z

Does this happen for all projects, or just one?