Fork me on GitHub
#core-async
<
2023-04-28
>
stopa13:04:50

Hey team, just recently I'm running into a weird bug when I try to start the repl:

Unexpected error (ClassNotFoundException) macroexpanding clojure.core.async/go at (...).
clojure.core.cache.CacheProtocol
I am not sure what it's trying to find CacheProtocol. Looking around, I saw this post: https://groups.google.com/g/clojure/c/YYH6XUJ2PzE , but this being a problem with a lein plugin. However, I don't have any lein plugins. Has anyone run into this before? My versions of clj + core async:
[org.clojure/clojure "1.10.3"]
                 [org.clojure/core.async "1.6.673"]

Alex Miller (Clojure team)13:04:59

just for grins, maybe try falling back to the prior version of core.async (thinking of ASYNC-249 / ASYNC-248 issues we're looking at)

stopa13:04:00

Thanks for chiming in @alexmiller! Gave downgrading to 1.5.648 a shot, but no dice.

stopa13:04:03

(Hmm, trying this on a fresh project does seem to work. I wonder if there's some other dep in my project.clj that is causing the issue.)

stopa13:04:55

Hm...I am a bit stumped. I haven't changed dep for weeks, and this bug started showing up today. Here's my deps :tree https://gist.github.com/stopachka/85df7d386f914f09f8fb594dc49e1a20.

stopa14:04:33

Huh...okay, for posterity: I ran lein uberjar...and that seems to have fixed it

Alex Miller (Clojure team)15:04:08

Must have been a stale class dir somehow

👍 2