This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-18
Channels
- # adventofcode (20)
- # aleph (25)
- # announcements (4)
- # babashka (117)
- # beginners (150)
- # calva (4)
- # cider (9)
- # clj-on-windows (2)
- # clojure (9)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojuredesign-podcast (18)
- # clojurescript (16)
- # conjure (1)
- # core-async (35)
- # cursive (13)
- # datalevin (6)
- # datomic (6)
- # fulcro (8)
- # hyperfiddle (5)
- # malli (8)
- # nextjournal (4)
- # off-topic (51)
- # pathom (4)
- # reagent (21)
- # sci (14)
- # shadow-cljs (22)
- # specter (3)
- # testing (22)
- # tools-deps (8)
- # xtdb (7)
I'm getting an error trying to generate a static page (one that works fine as a live notebook). 🧵
Partial stack trace:
#error {
:cause "class clojure.lang.Var$Unbound cannot be cast to class clojure.lang.MultiFn (clojure.lang.Var$Unbound and clojure.lang.MultiFn are in unnamed module of loader 'app')"
:via
[{:type java.lang.ClassCastException
:message "class clojure.lang.Var$Unbound cannot be cast to class clojure.lang.MultiFn (clojure.lang.Var$Unbound and clojure.lang.MultiFn are in unnamed module of loader 'app')"
:at [coyotesqrl.2021.day16$eval15448 invokeStatic "NO_SOURCE_FILE" -1]}]
:trace
[[coyotesqrl.2021.day16$eval15448 invokeStatic "NO_SOURCE_FILE" -1]
[coyotesqrl.2021.day16$eval15448 invoke "NO_SOURCE_FILE" -1]
[clojure.lang.Compiler eval "Compiler.java" 7181]
[clojure.lang.Compiler eval "Compiler.java" 7136]
[clojure.core$eval invokeStatic "core.clj" 3202]
[clojure.core$eval invoke "core.clj" 3198]
[nextjournal.clerk$read_PLUS_eval_cached$fn__13194 invoke "clerk.clj" 91]
I had thought the issue might be that I have a multimethod in this notebook, but I tried a small sample with one and it had no problems. Here's a link to the source file that's failing: https://github.com/coyotesqrl/advent-of-code/blob/main/src/coyotesqrl/2021/day16.clj It's unlikely I'll have any time to try to narrow this down to a simple reproducible case for at least a few weeks.