This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-13
Channels
- # babashka (10)
- # beginners (27)
- # calva (91)
- # cestmeetup (3)
- # cider (27)
- # clj-kondo (12)
- # cljs-dev (4)
- # clojars (13)
- # clojure (35)
- # clojure-europe (30)
- # clojure-france (3)
- # clojure-houston (1)
- # clojure-nl (11)
- # clojure-norway (29)
- # clojure-spec (23)
- # clojure-sweden (5)
- # clojure-uk (128)
- # clojurescript (69)
- # conjure (44)
- # core-async (27)
- # cursive (13)
- # emacs (9)
- # events (3)
- # fulcro (52)
- # graphql (4)
- # jobs (2)
- # jobs-discuss (46)
- # kaocha (4)
- # luminus (12)
- # nrepl (10)
- # off-topic (29)
- # re-frame (17)
- # reitit (20)
- # remote-jobs (4)
- # rewrite-clj (1)
- # ring (4)
- # rum (13)
- # shadow-cljs (40)
- # sql (1)
- # xtdb (1)
I'm trying an experiment in pre-compiling the source of my projects to speed up launch time of the clj, following the information presented here
. However, I'm enountering an issue that seems to be thrown by nrepl (in 0.7.0 and in 0.8.0 - the stack is higher in 0.8.0), when I open my editor (neovim + conjure). Here is a snippet of what is thrown:
user=> ERROR: Unhandled REPL handler exception processing message {:code (ns conjure.internal (:require [clojure.pprint :as pp]))(defn pprint [val w opts] (apply pp/write val (mapcat identity (assoc opts :stream w)))), :id 15ba2b17-3b84-463d-bc55-8a1b0dcf882a, :op eval}
java.lang.NullPointerException
at clojure.core$deref_future.invokeStatic(core.clj:2300)
at clojure.core$deref.invokeStatic(core.clj:2320)
at clojure.core$deref.invoke(core.clj:2306)
at cider.nrepl$wrap_tracker$fn__4976.invoke(nrepl.clj:460)
at nrepl.middleware$wrap_conj_descriptor$fn__3858.invoke(middleware.clj:16)
at nrepl.middleware.session$session$fn__4249.invoke(session.clj:309)
at nrepl.middleware$wrap_conj_descriptor$fn__3858.invoke(middleware.clj:16)
at nrepl.server$default_handler$fn__4779.invoke(server.clj:130)
ERROR: Unhandled REPL handler exception processing message {:code #?(:clj 'clj :cljs 'cljs :cljr 'cljr :default 'unknown), :id 7be0fda4-379d-49e0-b2d6-37fa14de595a, :op eval, :session 61afff04-3d2a-4eaa-9155-8c31f5d12f46}
java.lang.NullPointerException
at clojure.core$deref_future.invokeStatic(core.clj:2300)
at clojure.core$deref.invokeStatic(core.clj:2320)
at clojure.core$deref.invoke(core.clj:2306)
at cider.nrepl$wrap_tracker$fn__4976.invoke(nrepl.clj:460)
When I delete the classes
directory and launch clj
normally, thus reverting to on-demand compliation of the clj files, no exceptions are thrown.