[MPH-191] help:evaluate fails on Java 18 - java.util.Hashtable.table not accessible
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system, cli
Research direction
Start by reproducing the help:evaluate command shown in the report on Java 18 and inspect the maven-help-plugin 3.3.0 evaluation path involved in the failure. Done means the command completes without the XStream accessibility error and produces the requested project.properties output.
Written by the indexing model from the issue text.
Description
Ondrej Zizka opened MPH-191 and commented
When running help:evaluate:
com.thoughtworks.xstream.converters.reflection.ReflectionConverter[ERROR] message[2] : Unable to make field private transient java.util.Hashtable$Entry[] java.util.Hashtable.table accessible: module java.base does not "opens java.util" to unnamed module @4fc3529
$ $MVN $MVN_OPTS help:system help:effective-settings help:effective-pom dependency:tree help:evaluate -Dexpression=project.properties -q -DforceStdout[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate (default-cli) on project tracker-service-app: Execution default-cli of goal org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate failed: No converter available[ERROR] ---- Debugging information ----[ERROR] message : No converter available[ERROR] type : org.apache.maven.plugins.help.AbstractEffectiveMojo$SortedProperties[ERROR] converter : com.thoughtworks.xstream.converters.reflection.SerializableConverter[ERROR] message[1] : Unable to make private void java.util.Hashtable.readObject(java.io.ObjectInputStream) throws java.io.IOException,java.lang.ClassNotFoundException accessible: module java.base does not "opens java.util" to unnamed module @4fc3529[ERROR] converter[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter[ERROR] message[2] : Unable to make field private transient java.util.Hashtable$Entry[] java.util.Hashtable.table accessible: module java.base does not "opens java.util" to unnamed module @4fc3529
Affects: 3.3.0
- Dominant language
- Java
- Stars
- 29
- Forks
- 42
- Avg merge
- 23h 15m
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/maven-help-plugin
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 82/100
apache/maven-help-plugin#394 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apache/maven-help-plugin#389 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/maven-help-plugin#388 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/maven-help-plugin#386 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/maven-help-plugin#385 ·
All issues in apache/maven-help-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100