This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-01
Channels
- # announcements (5)
- # aws (2)
- # babashka (35)
- # beginners (68)
- # bristol-clojurians (1)
- # calva (14)
- # cider (9)
- # clj-commons (5)
- # clojars (3)
- # clojure (101)
- # clojure-australia (6)
- # clojure-europe (35)
- # clojure-italy (2)
- # clojure-nl (5)
- # clojure-spec (1)
- # clojure-uk (4)
- # clojurescript (70)
- # conjure (3)
- # cursive (7)
- # datomic (36)
- # emacs (11)
- # exercism (1)
- # fulcro (23)
- # helix (2)
- # jobs-discuss (15)
- # lsp (17)
- # malli (8)
- # meander (1)
- # nrepl (60)
- # off-topic (10)
- # pedestal (9)
- # react (8)
- # reagent (53)
- # reveal (10)
- # shadow-cljs (27)
- # spacemacs (4)
- # tools-build (4)
- # tools-deps (4)
- # xtdb (2)
I noticed this morning that my app isn't working. After some debugging I found out that any time I use clojure.tools.logging
for logging I get a StackOverflowError, which (if I'm reading it correctly) seems to hint at cider.nrepl.middleware.out
. Any idea what might cause this? Or is this even related to cider at all?
[java.io.PrintWriter write "PrintWriter.java" 542]
[jdk.internal.reflect.GeneratedMethodAccessor3 invoke nil -1]
[jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
[java.lang.reflect.Method invoke "Method.java" 566]
[clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
[clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
[cider.nrepl.middleware.out$forking_printer$fn__55622 invoke "out.clj" 59]
[cider.nrepl.middleware.out.proxy$java.io.Writer$ff19274a write nil -1]
[java.io.PrintWriter write "PrintWriter.java" 542]
It's a leiningen project and if I run it through lein repl
-> everything works. But if started from emacs/cider I get the overflows.
cider-version
in emacs reports CIDER 1.2.0snapshot (package:
, if that's any help
and cider.nrepl.version/version-string
evals to "0.27.0"
Doesn't ring a bell to me, seems dense enough to justify creating a GH issue in cider-nrepl
ok, I tried my best to describe this in https://github.com/clojure-emacs/cider-nrepl/issues/716
Clearly it's a regression, but we'll have to figure out which commit caused this exactly.
How can I set cider's evaluation in cljc files to only evaluate against the clojure repl, not the clojurescript one?