Fork me on GitHub
#clojure-dev
<
2022-03-17
>
favila17:03:41

Is class java.util.HashMap$Node cannot be cast to class java.util.HashMap$TreeNode exception during classpath building an example of the maven-fetching concurrency problem that’s been malingering?

favila17:03:54

I have a stacktrace, wondering where to put it

Alex Miller (Clojure team)17:03:48

It is, don't think I need another stack trace but there are some ask questions for it

souenzzo18:03:30

The stacktrace: It happens in my CI, maybe in 0.1% of our runs (one CI run has 10 clj commands, it occurs once for each 100 CI runs) https://gist.github.com/souenzzo/8a29a8058f34903d40924ceb0781b0fb

favila18:03:09

yep I have the same stack

souenzzo19:03:16

We use azul jdk 11 with clojure from linux-install-1.10.3.1058.sh

Alex Miller (Clojure team)20:03:44

ok, there is now a prerelease 1.10.3.1093 out to address this problem (basically separates the cache for these shared objects into per-thread caches to avoid sharing the mutable state). I'd greatly appreciate any testing you can provide!

Alex Miller (Clojure team)22:03:20

@U09R86PA4 @U2J4FRT2T any chance either of you have tried the prerelease?

favila20:03:35

I haven’t. I’ll roll it out.