You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ramyogi <ra...@gmail.com> on 2018/03/02 14:42:18 UTC

solo source build in local error

solr-repo/lucene-solr/build.xml:21: The following error occurred while
executing this line:/solr-repo/lucene-solr/lucene/common-build.xml:623:
java.lang.NullPointerException	at java.util.Arrays.stream(Arrays.java:5004)
at java.util.stream.Stream.of(Stream.java:1000)	at
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)	at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)I
am trying to build and debug SOLR . seems build throwing error. anything to
set before run build ?



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: solo source build in local error

Posted by Shawn Heisey <el...@elyograg.org>.
On 3/2/2018 7:42 AM, ramyogi wrote:
> solr-repo/lucene-solr/build.xml:21: The following error occurred while
> executing this line:/solr-repo/lucene-solr/lucene/common-build.xml:623:
> java.lang.NullPointerException	at java.util.Arrays.stream(Arrays.java:5004)
> at java.util.stream.Stream.of(Stream.java:1000)	at
> java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)	at
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)I
> am trying to build and debug SOLR . seems build throwing error. anything to
> set before run build ?

Downgrade your ant version from 1.10.2 to 1.10.1 or 1.9.x. There's a bug 
in 1.10.2 that produces NullPointerException anytime ant is run in the 
Lucene/Solr source code.

Thanks,
Shawn


Re: solo source build in local error

Posted by Erick Erickson <er...@gmail.com>.
Ant 1.10.2 has a bug, are you using that version? 1.10.1 works fine.


On Fri, Mar 2, 2018 at 6:42 AM, ramyogi <ra...@gmail.com> wrote:
> solr-repo/lucene-solr/build.xml:21: The following error occurred while
> executing this line:/solr-repo/lucene-solr/lucene/common-build.xml:623:
> java.lang.NullPointerException  at java.util.Arrays.stream(Arrays.java:5004)
> at java.util.stream.Stream.of(Stream.java:1000) at
> java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)       at
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)I
> am trying to build and debug SOLR . seems build throwing error. anything to
> set before run build ?
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html