cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
Eamonn Sullivan 2021-01-29T16:51:53.095700Z

Hi, I'm still getting the eldoc-related unhandled exception issue mentioned https://clojurians.slack.com/archives/C0617A8PQ/p1611770789065300 and https://clojurians.slack.com/archives/C0617A8PQ/p1611468866016600. I'm running

;; Connected to nREPL server - <nrepl://localhost:42347>
;; CIDER 1.1.0snapshot, nREPL 0.8.3
;; Clojure 1.10.2, Java 1.8.0_282
and
Startup: /home/linuxbrew/.linuxbrew/bin/clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.8.3"} refactor-nrepl {:mvn/version "2.5.0"} cider/cider-nrepl {:mvn/version "0.25.8"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[\"refactor-nrepl.middleware/wrap-refactor\",\"cider.nrepl/cider-middleware\"]"]}}}' -M:cider/nrepl
It's making cider almost unusable, because I'm getting these stack traces spewing in my REPL buffer periodically and repeatedly. I'm using emacs 28.0.50 (native comp) and straight.el. I have pulled the latest cider, etc. https://clojurians.slack.com/archives/C0617A8PQ/p1611560524027400 suggest that the issue is fixed, but that's not what I'm seeing. Do I have to be on a particular branch or something?

dpsutton 2021-01-29T17:00:32.097100Z

i'd probably try (setq cider-required-middleware-version "0.25.6") . I think 25.7 is where it started and 25.8 is what you're saying is still problematic

dpsutton 2021-01-29T17:01:27.097700Z

also, maybe try without refactor involved. i wonder if that's interacting in a weird way? I have no idea if that's even plausible but just try to whittle the problem down

Eamonn Sullivan 2021-01-29T17:03:52.099400Z

I just restarted/jacked in again, but using Java 11 (instead of 8 ) and I haven't seen a stack in a few minutes now... 🤞 . I wonder if, weirdly, that has something to do with it...

dpsutton 2021-01-29T17:08:32.099900Z

quite possibly. the issues they are working around are quite technical and tricky and fundamentally relate to changes in the jvm i believe

Eamonn Sullivan 2021-01-29T17:10:49.101800Z

Thanks. That'll do as a workaround for now. I normally use Java 11 for Clojure stuff, but need to use Java 8 for all of our Scala services and libraries (my actual day job). I just frequently forget to do a sudo update-alternatives --config java before starting Clojure. This will certainly act as a reminder! 🙂

Eamonn Sullivan 2021-01-29T17:24:38.102Z

Is there an issue I can track?

Eamonn Sullivan 2021-01-29T17:26:36.102500Z

I see them. They already know it's a Java 8 and 9 issue, it seems.