Re: Javadoc plugin
"Gary D. Gregory" <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.user |
|---|---|
| Message-ID | <[email protected]> |
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 Note that this works: mvn clean javadoc:javadoc -Dcommons.javadoc.version=3.11.2 && mvn javadoc:javadoc -Dcommons.javadoc.version=3.11.2 So definitively something in 3.11.3... TY, Gary > > 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] > >