This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-02
Channels
- # announcements (21)
- # babashka (1)
- # beginners (67)
- # calva (18)
- # cider (21)
- # clj-kondo (109)
- # cljs-dev (3)
- # clojure (129)
- # clojure-spec (15)
- # clojure-uk (30)
- # clojurescript (3)
- # datomic (2)
- # graalvm (8)
- # graphql (1)
- # juxt (1)
- # malli (28)
- # off-topic (46)
- # reitit (5)
- # rewrite-clj (33)
- # ring-swagger (2)
- # shadow-cljs (199)
- # vim (9)
Yeah, the root cause seems to be Clojure side of things which throws an unhandled NPE, causing cider-stacktrace to error out on some text formatting functions.
It's proving very hard to track down, I was just wondering if it's some odd configuration or setup on my end or if everyone else experiences it too
I reproduced it on a clean installation of Cider jacked into an empty Lein project:
;; CIDER 0.24.0snapshot, nREPL 0.6.0
;; Clojure 1.10.1, Java 12.0.1
1. Unhandled java.lang.NullPointerException
(No message)
Matcher.java: 1770 java.util.regex.Matcher/getTextLength
Matcher.java: 416 java.util.regex.Matcher/reset
Matcher.java: 253 java.util.regex.Matcher/<init>
Pattern.java: 1133 java.util.regex.Pattern/matcher
core.clj: 4856 clojure.core/re-matcher
core.clj: 4886 clojure.core/re-matches
core.clj: 4886 clojure.core/re-matches
debug.clj: 598 cider.nrepl.middleware.debug/instrument-and-eval
debug.clj: 591 cider.nrepl.middleware.debug/instrument-and-eval
Var.java: 384 clojure.lang.Var/invoke
main.clj: 437 clojure.main/repl/read-eval-print/fn
main.clj: 437 clojure.main/repl/read-eval-print
main.clj: 458 clojure.main/repl/fn
main.clj: 458 clojure.main/repl
main.clj: 368 clojure.main/repl
RestFn.java: 137 clojure.lang.RestFn/applyTo
core.clj: 665 clojure.core/apply
core.clj: 660 clojure.core/apply
regrow.clj: 18 refactor-nrepl.ns.slam.hound.regrow/wrap-clojure-repl/fn
RestFn.java: 1523 clojure.lang.RestFn/invoke
interruptible_eval.clj: 79 nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 55 nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 142 nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
AFn.java: 22 clojure.lang.AFn/run
session.clj: 171 nrepl.middleware.session/session-exec/main-loop/fn
session.clj: 170 nrepl.middleware.session/session-exec/main-loop
AFn.java: 22 clojure.lang.AFn/run
Thread.java: 835 java.lang.Thread/run
is there a way to get clojure docs for a symbol in emacs? cider-grimoire doesn't seem to work... I've found cider-clojuredocs at https://github.com/clojure-emacs/cider/blob/master/cider-clojuredocs.el but it's not available as a command in my emacs... is there a way to get this functionality?
@U0X9N9ZK5 I have cider-clojuredocs
as a command; in spacemacs under , h d
@m0smith See https://docs.cider.mx/cider/0.23/basics/up_and_running.html#_working_with_remote_hosts
I checked there and CIDER is connecting to the remote port ok, but the cider-repl buffer is not attached to it
The first ever “State of CIDER” survey is out https://metaredux.com/posts/2019/11/02/state-of-cider.html

Filling it out, but I think two blank questions made it into the form: Screen Shot 2019-11-03 at 5.07.38 PM
Hey, in recent versions of Cider, cider-restart
no longer kills the REPL and launches it again. Now it just disconnects and reconnects to the same REPL. Since hot loading of dependencies is also disabled these days, what's the easiest way to bring a new library to the classpath after changing my project.clj?
Cool, thanks! It was nice that cider-restart
had some feedback in the mini buffer to show that the new REPL was starting, but I'll definitely use sesman-restart
:thumbsup:
Ah, found the backstory: https://github.com/clojure-emacs/cider/issues/2420
Sesman it is :thumbsup: