Fork me on GitHub
#calva
<
2021-04-29
>
otwieracz08:04:12

Hmm, I am not able to evaluate various protocol-backed calls in Calva with errors like:

ERROR: Unhandled REPL handler exception processing message {:op info, :ns myproj.core, :symbol user-id, :id 1818, :session 102fd1a1-a06e-440c-b02c-0dcdca3e67ab}
java.lang.ClassNotFoundException: com.sun.tools.javac.util.List

otwieracz08:04:32

Is this something well known with workaround available?

pez15:04:37

I saw something similar reported yesterday, somewhere. I don’t quite remember where… But it was not exactly the same so maybe unrelated. In any case, no, this is not something well known. Is it a Clojure or ClojureScript project?

bringe16:04:54

@slawek098 I think this may be related to one or both of these issues. Not sure. But worth looking at: https://github.com/clojure-emacs/orchard/issues/105 https://github.com/clojure-emacs/orchard/issues/103

👍 1
bringe16:04:09

I just created this issue in the Calva repo for more visibility: https://github.com/BetterThanTomorrow/calva/issues/1159

bringe16:04:48

@slawek098 I'm not sure but the fix may have been released in cider-nrepl 0.26. Can you try updating your cider-nrepl to that version and seeing if it helps? It may be related to dynapath-based functionality, and disabling that seems opt-in, so you may have to do that as well. https://github.com/clojure-emacs/orchard/issues/105#issuecomment-818674481

bringe16:04:58

I don't fully understand this all yet 😄

otwieracz16:04:07

@brandon.ringe actually I just did that and seems like it helped!

otwieracz16:04:22

Basically I cross-checked the dependencies with those used in my emacs setup.

otwieracz16:04:07

I can’t guarantee that it helped though - because I basically encountered the issue, asked here, updated the dependencies and restarted REPL in Calva to discover that it works.

otwieracz16:04:15

So it can be only the restart that resolved the issue.

bringe16:04:44

I see. I'll leave that Calva issue open for a bit and also update cider-nrepl's version in Calva

otwieracz16:04:56

Thanks!

👍 1
az22:04:24

Hi all, is there a way to have a breakpoint hit in clj when I trigger a handler from outside the repl like via postman? I find that I’m stashing requests in atoms but would be great if I could instrument and just pause and inspect the request. Thank you.

az05:04:37

Thank you @brandon.ringe I’m going to be following this.

👍 2
az22:04:04

I’m still struggling to understand if there is some type of connection to the repl and something like this outside request