nextjournal 2021-12-15

I’m using 0.4.305, and clark/vl . The form evaluates ok but the viewer shows this:

Unhandled java.lang.IllegalStateException
Multi threaded access requested by thread Thread[ForkJoinPool.commonPool-worker-5,5,main] but is not allowed for language(s) js.
nil
Unhandled com.oracle.truffle.api.TruffleStackTrace$LazyStackTrace

java -version
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)

and this is just Clerk? Using the file watcher?

having trouble to reproduce it here

It looks like this was caused by some interaction with portal. The charts work fine without portal loaded. Thank you!

(clerk/vl
 {:title "Follower count",
  :data
  {:values
   [{:index 0, :followers 2.419955748489758}
    {:index 1, :followers 1.146128035678238}
    {:index 2, :followers 1.2304489213782739}
    {:index 3, :followers 2.574031267727719}
    {:index 4, :followers 2.1702617153949575}
    {:index 5, :followers 0.0}
    ]},
  :encoding
  {:y {:aggregate "count", :axis {:title "Number of users"}},
   :x
   {:field "followers",
    :type  "quantitative",
    :bin   {:maxbins 30},
    :axis  {:title "log10 follower count"}}},
  :mark  "bar"})

what JVM are you using?