clojure-dev 2022-03-17

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?

Alex Miller (Clojure team) 2022-03-23T22:28:20.525779Z

@favila @souenzzo any chance either of you have tried the prerelease?

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

I have a stacktrace, wondering where to put it

Alex Miller (Clojure team) 2022-03-17T17:52:48.806039Z

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

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

yep I have the same stack

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

Alex Miller (Clojure team) 2022-03-21T20:46:44.219449Z

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!