Fork me on GitHub

I’m having problems with the Leiningen setting. I have an old project that’s been using Leiningen 2.7.1, and I want to start using 2.9.1. I go under Settings -> Build, Execution, Deployment -> Build Tools -> Leiningen, change the Leiningen version to 2.9.1, and click OK. Then I open up the settings dialog again to confirm the change, and it’s back to 2.7.1. I tried Invalidate Caches / Restart in case that might help, but no luck.


Hmmm, maybe if I delete the idea stuff and re-import the project… :thinking_face:


That did it.


@potetm I haven’t seen the socket REPL swallowing exceptions, no - I’ll try your repro case and see what I can see.


@potetm I can’t reproduce what you’re seeing. I see:

Connecting to remote Socket REPL...
Clojure 1.10.1
(sequence (comp (take 10)
                (map (fn [i]
                       (when (= i 9)
                         (throw (RuntimeException.))))))
Execution error at user/eval333$fn (REPL:2).
{:via [{:type java.lang.RuntimeException, :at [user$eval333$fn__334 invoke "NO_SOURCE_FILE" 2]}],
 :trace [[user$eval333$fn__334 invoke "NO_SOURCE_FILE" 2]
         [clojure.core$map$fn__5862$fn__5863 invoke "core.clj" 2742]
         [clojure.core$take$fn__5905$fn__5906 invoke "core.clj" 2877]
         [clojure.lang.TransformerIterator step "" 79]
...etc etc...


If you run clj -J-Dclojure.server.repl="{:port,5555,:accept,clojure.core.server/repl}", then create a new empty project and connect to 5555 using a new remote run config, do you still see the same problem?