Re: Javadoc plugin
"Gary D. Gregory" <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.user |
|---|---|
| Message-ID | <[email protected]> |
I should have said I am using: Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b) Maven home: C:\java\apache-maven-3.9.11 Java version: 1.8.0_452, vendor: Temurin, runtime: C:\Program Files\Eclipse Adoptium\jdk-8.0.452.9-hotspot\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows" Could this be related to this PR https://github.com/apache/maven-javadoc-plugin/pull/1215/files (no uni tests in the PR?) Gary On 2025/08/29 21:08:12 "Gary D. Gregory" wrote: > This is the reproducer: > > git clone https://gitbox.apache.org/repos/asf/commons-lang.git > git checkout 0ffdc06a99330d6c754b8d3e0a6696f5dfdecb90 # this is where we are now > cd /commons-lang > mvn clean javadoc:javadoc && mvn javadoc:javadoc > > Weird! > > Gary > > On 2025/08/29 20:42:55 Matthias Bünger wrote: > > From my experience this is mostly an encoding issue, e.g. not using > > UTF-8 everywhere. > > > > Am 29.08.2025 um 22:30 schrieb Gary D. Gregory: > > > Hi All, > > > > > > A MalformedInputException started happening today when we updated our parent pom in Command Lang which includes updating the Javadoc plugin from 3.11.2 to 3.11.3. Do you think this failure is related to https://stackoverflow.com/questions/53449049/maven-javadoc-plugin-error-javadoc-error-cannot-read-input-length-1-with-no and https://github.com/apache/maven-javadoc-plugin/blob/3dcf135299950db9541f7da671bec1a84c5cef49/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L4373? > > > > > > <...> > > > Caused by: java.nio.charset.MalformedInputException: Input length = 1 > > > at java.nio.charset.CoderResult.throwException (CoderResult.java:281) > > > at sun.nio.cs.StreamDecoder.implRead (StreamDecoder.java:339) > > > at sun.nio.cs.StreamDecoder.read (StreamDecoder.java:178) > > > at java.io.InputStreamReader.read (InputStreamReader.java:184) > > > at java.io.BufferedReader.fill (BufferedReader.java:161) > > > at java.io.BufferedReader.readLine (BufferedReader.java:324) > > > at java.io.BufferedReader.readLine (BufferedReader.java:389) > > > at java.io.BufferedReader$1.hasNext (BufferedReader.java:571) > > > at java.util.Iterator.forEachRemaining (Iterator.java:115) > > > at java.util.Spliterators$IteratorSpliterator.forEachRemaining (Spliterators.java:1801) > > > at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:482) > > > at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:472) > > > at java.util.stream.ReduceOps$ReduceOp.evaluateSequential (ReduceOps.java:708) > > > at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234) > > > at java.util.stream.ReferencePipeline.collect (ReferencePipeline.java:566) > > > at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.isUpToDate (AbstractJavadocMojo.java:5010) > > > > > > From: > > > > > > https://github.com/apache/commons-lang/actions/runs/17325932362/job/49213011492 > > > > > > The output for the above is copied to https://gist.github.com/garydgregory/1652fd57c1481b6090c48a8229e8cc65 > > > > > > TY, > > > Gary > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >