Hi Mike. The first thing I'd do is what gradle suggests - run with
--stacktrace or --info. This should show more insightful information
about what failed. We also assemble the full command-line for javac
and write it under the project's tmp folder (somewhere, can't remember
the exact path) - you can just try to run this command-line manually
and see what the problem is on a bare shell.

D.

On Fri, Aug 6, 2021 at 6:44 PM Michael Sokolov <[email protected]> wrote:
>
> Hi all, does anybody have helpful tips about  how to chase down
> javadoc build failures? I made some new stuff, and ./gradlew test
> passes, but ./gradlew check fails with this less than fully
> explanatory message:
>
> $ JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64/ ./gradlew check
> > Task :lucene:core:renderJavadoc FAILED
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Script 
> '/home/ANT.AMAZON.COM/sokolovm/workspace/lucene/gradle/documentation/render-javadoc.gradle'
> line: 450
>
> * What went wrong:
> Execution failed for task ':lucene:core:renderJavadoc'.
> > No value present
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info
> or --debug option to get more log output. Run with --scan to get full
> insights.
>
> * Get more help at https://help.gradle.org
>
> BUILD FAILED in 3s
> 44 actionable tasks: 17 executed, 27 up-to-date
>
> ---------------------------------------------------------------------
> 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]

Reply via email to