I opened an issue with one idea of how we can fix this, for
discussion: https://github.com/apache/lucene/issues/11772

On Wed, Sep 14, 2022 at 11:27 AM Uwe Schindler <u...@thetaphi.de> wrote:
>
> Hi,
>
> do you have Microsoft Visual Studio installed? It looks like Gradle
> tries to detect it and fails with some NullPointerException while
> parsing a JSON file from its instalation.
>
> The misc module contains some (optional) native code that will get
> compiled (optionally) with Visual C++. It looks like thiat breaks.
>
> I have no idea how to fix this. Dawid: Maybe we can also make the
> configuration of that native stuff only opt-in? So only detect Visual
> Studio when you actively activate native code compilation?
>
> Uwe
>
> Am 13.09.2022 um 21:00 schrieb Rahul Goswami:
> > Hi Dawid,
> > I believe you. Just that for some reason I have never been able to get it
> > to work on Windows. Also, being a complete newbie to gradle doesn't help
> > much. So would appreciate some help on this while I find my footing. Here
> > is the link to the diagnostics that you requested (since attachments/images
> > won't make it through):
> >
> > https://drive.google.com/file/d/15pt9Qt1H98gOvA5e0NrtY8YYHao0lgdM/view?usp=sharing
> >
> >
> > Thanks,
> > Rahul
> >
> > On Tue, Sep 13, 2022 at 1:18 PM Dawid Weiss <dawid.we...@gmail.com> wrote:
> >
> >> Hi Rahul,
> >>
> >> Well, that's weird.
> >>
> >>> "releases/lucene/9.2.0"  -> Run "gradlew help"
> >>>
> >>> If you need additional stacktrace or other diagnostics I am happy to
> >>> provide the same.
> >> Could you do the following:
> >>
> >> 1) run: git --version so that we're on the same page as to what the
> >> git version is (I don't think this matters),
> >> 2) run: gradlew help --stacktrace
> >>
> >> Step (2) should provide the exact place that fails. Something is
> >> definitely wrong because I'm on Windows and it works for me like a
> >> charm.
> >>
> >> Dawid
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> >> For additional commands, e-mail: java-user-h...@lucene.apache.org
> >>
> >>
> --
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> https://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

---------------------------------------------------------------------
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