Hi Dawid,
I tried with Gitbash only after "gradlew help" failed on cmd. Just now
tried Powershell as well and get the exact same error message.
The steps I performed were, clone the repo -> create a branch from tag
"releases/lucene/9.2.0"  -> Run "gradlew help"

If you need additional stacktrace or other diagnostics I am happy to
provide the same.

Thanks,
Rahul

On Tue, Sep 13, 2022 at 11:37 AM Dawid Weiss <dawid.we...@gmail.com> wrote:

> It does work just fine. Use cmd or powershell though. I don't think
> things are even tested with cygwin/msys.
>
> Dawid
>
> On Tue, Sep 13, 2022 at 4:55 AM Rahul Goswami <rahul196...@gmail.com>
> wrote:
> >
> > Hello,
> > I am using gitbash to build lucene 9.2.0 on Windows. I checked out the
> > release/lucene/9.2.0 tag and tried running "./gradlew help". But it
> fails.
> > Running Java 11.0.4. Somehow building lucene 9x on Windows has never
> worked
> > for me. Had the same issue with 9.0.0 as well.
> >
> > mypc@mypc MINGW64 /c/work/snap/git/Lucene_9_2/lucene (lucene_9.2_local)
> > $* ./gradlew help*
> > Downloading gradle-wrapper.jar from
> >
> https://github.com/gradle/gradle/raw/v7.3.3/gradle/wrapper/gradle-wrapper.jar
> > To honour the JVM settings for this build a single-use Daemon process
> will
> > be forked. See
> >
> https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon
> > .
> > 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)
> >
> > * 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 13s
> > 2 actionable tasks: 2 executed
> >
> > mypc@mypc MINGW64 /c/work/snap/git/Lucene_9_2/lucene (lucene_9.2_local)
> > $ java -version
> > java version "11.0.4" 2019-07-16 LTS
> > Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS)
> > Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed mode)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to