Fork me on GitHub
#cider
<
2022-02-15
>
FiVo20:02:06

Hey, I upgraded cider recently. I am on 1.3-snapshot now. I was on 1.2 before. Did something change in the way you inject dependencies. I had to downgrade to 1.2 again as I was getting a NoClassDefFoundError`` error in one leiningen based project. I couldn't reproduce it in a small project.

vemv20:02:57

Without a stacktrace and/or a reasonably detailed context we can't possibly provide support 😇 This one seems important enough to warrant a GH issue, would appreciate very much if you created it

FiVo21:02:30

Well it's a private repo. I will try to reproduce, but it might be a bit difficult.

vemv21:02:06

Repro isn't as important as a stacktrace, which is fine to redact if it includes private namespaces

FiVo21:02:36

ERROR: Unhandled REPL handler exception processing message {:nrepl.middleware.print/stream? 1, :nrepl.middleware.print/print cider.nrepl.pprint/pprint, :nrepl.middleware.print/quota 1048576, :nrepl.middleware.print/buffer-size 4096, :nrepl.middleware.print/options {:right-margin 70}, :op stacktrace, :session a30c16e0-b9ac-49b7-aa52-882236506ea0, :id 37}

vemv21:02:06

That doesn't look like the meaty part of the stacktrace

FiVo21:02:51

I could reproduce it, will post the repo in a minute

vemv21:02:04

Thanks! If possible create a reproducible CLI command, else it's more of mixed bag since personal emacs config changes from user to user

FiVo21:02:36

Not quite following, what do you mean by CLI command for cider?

vemv21:02:12

A repro that doesn't involve launching Emacs at all. So you'd follow https://docs.cider.mx/cider/basics/middleware_setup.html#using-leiningen, run lein repl and hopefully repro the same

vemv21:02:34

as a last resource you can simply post a full stacktrace, might be available at *cider-error* ?

FiVo21:02:55

Well that is the issue, if I run`lein repl` and run the commands everything works as expected.

vemv21:02:56

cider-nrepl isn't in your project.clj so your lein repl isn't an apples-to-apples comparison

FiVo21:02:06

ok, got you now

👍 1