Fork me on GitHub

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’ve never encountered this.


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


evaluate #dbg (inc (inc 0)) and press q


1. Unhandled java.lang.NullPointerException
   (No message)

     1770  java.util.regex.Matcher/getTextLength
      416  java.util.regex.Matcher/reset
      253  java.util.regex.Matcher/<init>
     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
          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
       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
      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
           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
           22  clojure.lang.AFn/run
       835  java.lang.Thread/run


it appears that (.getMessage e) in instrument-and-eval returns nil


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 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


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

cider 8
👍 8



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?


there's a sesman-restart that does what you want


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:


yeah i'm not sure what the benefit or purpose of cider-restart is now ¯\(ツ)


Sesman it is :thumbsup: