I would try to enable gradle debug mode and see if you get more details (I think it's ./gradlew assemble -Dorg.gradle.debug=true)
From: java-user@lucene.apache.org At: 07/08/22 07:58:42 UTC+1:00To: java-user@lucene.apache.org Subject: Error building lucene 9.0 Hi, I cloned the lucene repo from github and checked out branch 9.0. I have JDK 11 installed on my Windows machine and am using GitBash to run the build as below: =============================== $ ./gradlew assemble To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemo n . Daemon will be stopped at the end of the build FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'lucene-root'. *> A problem occurred configuring project ':lucene:misc:native'. > java.lang.NullPointerException (no error message)* ====================================== Even running "./gradlew help" runs into the same exception. Would appreciate any help on the issue! Thanks, Rahul