Fork me on GitHub
#cider
<
2021-01-24
>
stuartrexking06:01:26

I’m getting an Unhandled REPL handler exception in the cider repl window when I start to type any symbol https://gist.github.com/stuartrexking/21be30e6d40691be603a248ccc8b51e9

stuartrexking06:01:41

It’s related to eldoc but it’s not clear to me what’s causing it.

stuartrexking06:01:49

The exception is thrown on almost every character.

dpsutton06:01:52

can you recreate this on a repl with no dependenies? deps.edn just {} and jack in?

dpsutton06:01:03

hmm. identifying the smallest deps required to make this error would be helpful but i understand if in a large project that's not easy to do

stuartrexking06:01:57

Is it an error in the application code that’s simply being bubbled up to cider, or could it be a cider issue. Hard to tell here.

stuartrexking07:01:17

Actually, no, that’s not true. It does reproduce on a barebones deps.edn. The exception just takes longer to appear.

stuartrexking07:01:22

This is the startup command that’s being run on jack-in with an empty deps.edn

Startup: /usr/local/bin/clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.8.3"} cider/cider-nrepl {:mvn/version "0.25.7"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'

stuartrexking07:01:05

The exception is also thrown when I cider-jack-in-default

dpsutton07:01:40

It appears to be cider tooling that’s blowing up. If you open an issue with these stack traces people will look at it

bozhidar07:01:10

I don't see any recent changes that might be related. At any rate - it'd be best to file a ticket with Orchard. Potentially you can try to set the inject middleware to 0.25.6 and see if this will fix the problem for you for the time being.

bozhidar07:01:47

Looking at the second gist, it's definitely something to do with the change I mentioned.

stuartrexking08:01:02

Yeah, no exception when I rollback to 0.25.6

stuartrexking08:01:17

Thanks. I’ll open an issue with Orchard.