This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-11
Channels
- # announcements (2)
- # babashka (31)
- # beginners (31)
- # calva (30)
- # cider (23)
- # clerk (1)
- # clojure (46)
- # clojure-austin (5)
- # clojure-brasil (1)
- # clojure-europe (47)
- # clojure-nl (1)
- # clojure-norway (72)
- # clojure-uk (2)
- # clojurescript (39)
- # conjure (1)
- # cursive (16)
- # data-science (1)
- # datomic (35)
- # dev-tooling (4)
- # events (5)
- # introduce-yourself (2)
- # jobs-discuss (5)
- # missionary (3)
- # polylith (11)
- # releases (4)
- # scittle (4)
- # shadow-cljs (18)
- # spacemacs (16)
- # specter (2)
- # squint (27)
- # xtdb (6)
i'm trying to live-code a quil sketch, but cider repeatedly crashes with the following error:
ERROR: Unhandled REPL handler exception processing message {:op complete, :ns aphorisms.thirty-seven, :prefix noi, :context (__prefix__)
, :enhanced-cljs-completion? t, :session 2a769c0b-a5bc-4053-b995-452fd8b9f315, :id 96}
java.lang.IncompatibleClassChangeError: Method 'java.lang.module.ModuleFinder java.lang.module.ModuleFinder.ofSystem()' must be InterfaceMethodref constant
at cider.nrepl.inlined.deps.compliment.v0v5v1.compliment.utils$all_files_on_classpath$fn__8539.invoke(utils.clj:183) ; … and so on and so on
any idea what might be happening here?cider is started like this:
clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.0.0\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.45.0\"\}\ refactor-nrepl/refactor-nrepl\ \{\:mvn/version\ \"3.9.1\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[refactor-nrepl.middleware/wrap-refactor\,cider.nrepl/cider-middleware\]\"\]\}\}\} -M:cider/nrepl
where clojure --version
is Clojure CLI version 1.11.1.1435
yes we have a classpath scan in the Compliment library seems an easy fix. are you heavily affected other than seeing that error logged?
cider is crashing as soon as i try to render anything, so i can't really use it at the moment
It's a classpath-wide cache warmup, generally gives no issues
It's in @U06PNK4HG’s Compliment library so I cannot immediately fix. It's probably a simple matter of adding a catch
we we'll cut a new cider-nrepl release asap
ah cool! so can i downgrade to a known good version of cider-nrepl for the time being?
not sure, you'd have to try quite a lot You can also create a repl process without cider-nrepl in it. You can cider-connect to that process and have a variety of basic features working (and some warnings, needless to say)
@U9N6R1DM4, what's the Java version that you are trying this on?
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+0-adhoc..source)
OpenJDK 64-Bit Server VM (build 11.0.19+0-adhoc..source, mixed mode)
Do you have any other JDKs on your system? Would it be too much hassle to try with another JDK, say, 17?
i was wrong above by the way… the crash was due to another reason. it's just that completion doesn't work anymore
my deps.edn
had its own clojure version (1.9.0), but i was using 1.11.1 in the terminal