-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in 2.16.1: class java.util.HashMap$Node cannot be cast to class java.util.HashMap$TreeNode #1018
Comments
Can you provide a simple project which can reproduce it? |
Actually, i can't reproduce it myself, right now it is working. Sorry for that, maybe we can close this issue, |
ok, if you can reproduce please reopen. |
Hi,
My env was
and the command line was
ie. a multi thread run. The site mojo is marked thread safe. The stack trace lead me to this question https://stackoverflow.com/questions/29967401/strange-hashmap-exception-hashmapnode-cannot-be-cast-to-hashmaptreenode One of the last comment makes me wonder if the problem (and fix ie.
see Thx |
there are other |
carefull HashMap accept null value, ConcurrentHashMap no. And https://github.com/mojohaus/versions/blob/2.16.1/versions-common/src/main/java/org/codehaus/mojo/versions/api/DefaultVersionsHelper.java#L457 |
Hi, slawekjaranowski I wonder I you have see my comments above ?. Do I need to open another issue? thx |
Hi,
i found a regression from 2.16.0 to 2.16.1.
While running display-dependency-updates, i get
Unable to acquire metadata for dependencies java.util.stream.ReferencePipeline$2@35ee466f:
java.lang.ClassCastException: class java.util.HashMap$Node cannot be cast to class java.util.HashMap$TreeNode (java.util.HashMap$Node and java.util.HashMap$TreeNode are in module java.base of loader 'bootstrap')
The last visible action was:
Downloading from ***/io/prometheus/simpleclient/maven-metadata.xml
greetings
Ralf
The text was updated successfully, but these errors were encountered: