Fork me on GitHub
#cider
<
2018-12-23
>
borkdude16:12:26

I just upgraded CIDER because I used to get a stacktrace when eval-ing some unknown var:

SEVERE: (#error {
 :cause nil
 :via
 [{:type java.lang.NullPointerException
   :message nil
   :at [clojure.string$replace_first invokeStatic string.clj 165]}]
 :trace
 [[clojure.string$replace_first invokeStatic string.clj 165]
  [clojure.string$replace_first invoke string.clj 138]
  [cider.nrepl.middleware.stacktrace$relative_path invokeStatic stacktrace.clj 204]
  [cider.nrepl.middleware.stacktrace$relative_path invoke stacktrace.clj 198]
  [cider.nrepl.middleware.stacktrace$extract_location invokeStatic stacktrace.clj 219]
  [cider.nrepl.middleware.stacktrace$extract_location invoke stacktrace.clj 206]
  [clojure.core$comp$fn__5792 invoke core.clj 2569]
  [clojure.core$map$fn__5851 invoke core.clj 2755]
  [clojure.lang.LazySeq sval LazySeq.java 42]
  [clojure.lang.LazySeq seq LazySeq.java 51]

borkdude16:12:47

but now I can’t connect to my REPL anymore with cider-connect, because I get: cider--check-existing-session: Symbol's function definition is void: sesman-current-sessions

borkdude16:12:59

wiping my elpa dir did the trick, sorry for the noise

borkdude19:12:47

since the upgrade, I do notice that I can’t type as fast as some letters get dropped by the autocompletion or something, does anyone notice this?

borkdude20:12:45

example, here is me trying to type “wait-exists”: https://www.dropbox.com/s/s6abqhmkckbtmhx/cider.gif?dl=0

genmeblog20:12:03

I also have some problems after upgrade, after connection to nrepl (0.5.3) everything works fine. But when I want to open file from other project I'm getting

jonas21:12:24

I’ve seen the same error today. I’m running nrepl 0.5.0 and cider-nrepl 0.19.0-SNAPSHOT

jonas21:12:13

I thought I was running the latest nrepl with 0.5.0 but apparently not. Will try to update

genmeblog20:12:08

File mode specification error: (wrong-type-argument stringp nil)
string-prefix-p: Wrong type argument: stringp, nil
Error in post-command-hook (global-font-lock-mode-check-buffers): (wrong-type-argument stringp nil)

borkdude20:12:21

@tsulej did you try to remove your elpa dir

genmeblog20:12:43

just after reading your comment

genmeblog20:12:13

here is bottom part of stacktrace

seq-map(#f(compiled-function (elt) #<bytecode 0x180a03695>) (("~/clojure2d-examples:localhost:60515" #<buffer *cider-repl ~/clojure2d-examples:localhost:60515(clj)*>)))
  seq-filter(#f(compiled-function (ses) #<bytecode 0x1809e2a39>) (("~/clojure2d-examples:localhost:60515" #<buffer *cider-repl ~/clojure2d-examples:localhost:60515(clj)*>)))
  sesman--friendly-sessions(CIDER sort)
  sesman-current-session(CIDER)
  cider-repls(clj nil)
  cider-current-repl()
  cider-connected-p()
  redisplay_internal\ \(C\ function\)()

genmeblog20:12:26

so it looks that something is wrong with sesman

borkdude20:12:04

I now upgraded my Prelude installation as well. M-x doesn’t give any suggestions while typing…

borkdude20:12:22

ah, the prelude issue was because the personal modules file was moved. fixed.

borkdude20:12:26

the typing problem also seems to have resolved itself now… 😅