clojure-dev

favila 2022-03-17T17:41:41.519489Z

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?

favila 2022-03-24T20:46:35.697719Z

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

favila 2022-03-17T17:41:54.633859Z

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

favila 2022-03-17T17:58:04.188639Z

such as?

dpsutton 2022-03-17T18:01:59.774669Z

i think that means questions posted on http://ask.clojure.org (such as https://ask.clojure.org/index.php/10703/error-building-classpath?show=10703#q10703) and not open questions

souenzzo 2022-03-17T18:07:30.857289Z

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

favila 2022-03-17T18:34:09.364779Z

yep I have the same stack

souenzzo 2022-03-17T19:30:16.687119Z

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!