[ 
https://issues.apache.org/jira/browse/MRESOLVER-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Cservenak updated MRESOLVER-640:
--------------------------------------
    Component/s: Resolver

> Docgen error reporting is scarce
> --------------------------------
>
>                 Key: MRESOLVER-640
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-640
>             Project: Maven Resolver
>          Issue Type: Bug
>          Components: Resolver
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 2.0.5
>
>
> Example:
> {noformat}
> [INFO] --- exec:3.5.0:java (render-configuration-page) @ apache-maven ---
> [INFO] [stdout] Processing Maven sources from /home/runner/work/maven/maven
> Warning:  [stderr] java.lang.IllegalStateException
> Warning:  [stderr]    at 
> org.eclipse.aether.tools.CollectConfiguration$1$1$1.visitEnd(CollectConfiguration.java:213)
> Warning:  [stderr]    at 
> org.objectweb.asm.ClassReader.readElementValues(ClassReader.java:3016)
> Warning:  [stderr]    at 
> org.objectweb.asm.ClassReader.readField(ClassReader.java:1171)
> Warning:  [stderr]    at 
> org.objectweb.asm.ClassReader.accept(ClassReader.java:740)
> Warning:  [stderr]    at 
> org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
> Warning:  [stderr]    at 
> org.eclipse.aether.tools.CollectConfiguration.processMavenClass(CollectConfiguration.java:156)
> Warning:  [stderr]    at 
> org.eclipse.aether.tools.CollectConfiguration.lambda$call$2(CollectConfiguration.java:114)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
> Warning:  [stderr]    at 
> java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
> Warning:  [stderr]    at 
> java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
> Warning:  [stderr]    at 
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
> Warning:  [stderr]    at 
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
> Warning:  [stderr]    at 
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> Warning:  [stderr]    at 
> java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
> Warning:  [stderr]    at 
> org.eclipse.aether.tools.CollectConfiguration.call(CollectConfiguration.java:113)
> Warning:  [stderr]    at 
> org.eclipse.aether.tools.CollectConfiguration.call(CollectConfiguration.java:66)
> Warning:  [stderr]    at 
> picocli.CommandLine.executeUserObject(CommandLine.java:2045)
> Warning:  [stderr]    at picocli.CommandLine.access$1500(CommandLine.java:148)
> Warning:  [stderr]    at 
> picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
> Warning:  [stderr]    at 
> picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
> Warning:  [stderr]    at 
> picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
> Warning:  [stderr]    at 
> picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
> Warning:  [stderr]    at 
> picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
> Warning:  [stderr]    at picocli.CommandLine.execute(CommandLine.java:2174)
> Warning:  [stderr]    at 
> org.eclipse.aether.tools.CollectConfiguration.main(CollectConfiguration.java:69)
> Warning:  [stderr]    at 
> org.codehaus.mojo.exec.ExecJavaMojo.doMain(ExecJavaMojo.java:375)
> Warning:  [stderr]    at 
> org.codehaus.mojo.exec.ExecJavaMojo.doExec(ExecJavaMojo.java:364)
> Warning:  [stderr]    at 
> org.codehaus.mojo.exec.ExecJavaMojo.lambda$execute$0(ExecJavaMojo.java:286)
> Warning:  [stderr]    at java.base/java.lang.Thread.run(Thread.java:840)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to