Re: Javadoc plugin

Joseph Kesselman <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <MN2PR12MB42212FEC2D7FEC05A5A13A2D9E3AA@MN2PR12MB4221.namprd12.prod.outlook.com>
I'll try to take a look at it. I had heard reports that there were compatibility issues between older and newer javadoc plug in apis; there may be other differences.


--
Joe (new phone, no quip yet)
________________________________
From: Gary D. Gregory <[email protected]>
Sent: Friday, August 29, 2025 4:30:07 PM
To: [email protected] <[email protected]>
Subject: Javadoc plugin

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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.