Oh. Sorry, wrong list. I was thinking in terms of Xalan's Javadoc and plugins.


--
Joe (new phone, no quip yet)
________________________________
From: Joseph Kesselman <kesh...@alum.mit.edu>
Sent: Friday, August 29, 2025 5:14:14 PM
To: Maven Users List <users@maven.apache.org>
Subject: Re: Javadoc plugin

Not so hugely weird. Remember, we already have had to rework our custom tags 
once to stay in sync with Javadoc, and if I'm remembering correctly that is the 
part which needed a switch to select between older apis and the Java 9 and 
later jdks.

I'm away from keyboard right now but will try to find cycles over the next day 
or three.

--
Joe (new phone, no quip yet)
________________________________
From: Gary D. Gregory <ggreg...@apache.org>
Sent: Friday, August 29, 2025 5:08:12 PM
To: users@maven.apache.org <users@maven.apache.org>
Subject: Re: Javadoc plugin

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: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to