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
It’s related to eldoc but it’s not clear to me what’s causing it.
I’ve put the nrepl-messages output here https://gist.github.com/stuartrexking/cdd0614ed746c60b38c7e9bfb76f7998
The exception is thrown on almost every character.
can you recreate this on a repl with no dependenies? deps.edn just {}
and jack in?
No. Yes
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
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.
Actually, no, that’s not true. It does reproduce on a barebones deps.edn. The exception just takes longer to appear.
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"]'
The exception is also thrown when I cider-jack-in-default
It appears to be cider tooling that’s blowing up. If you open an issue with these stack traces people will look at it
Might be some regression related to this fix https://github.com/clojure-emacs/orchard/commit/fd99c15f962b085e3da7c451eedcb31f7a12c4f6
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.
Looking at the second gist, it's definitely something to do with the change I mentioned.
Yeah, no exception when I rollback to 0.25.6
Thanks. I’ll open an issue with Orchard.