[ 
https://issues.apache.org/jira/browse/LUCENE-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425588#comment-16425588
 ] 

Michael Braun commented on LUCENE-8189:
---------------------------------------

Ant 1.10.3 has been released which includes the fix.

> Build fails with ant version 1.10.x
> -----------------------------------
>
>                 Key: LUCENE-8189
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8189
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>    Affects Versions: master (8.0)
>            Reporter: Shawn Heisey
>            Priority: Minor
>
> Any action I try to take with ANT_HOME set to the 1.10.2 version fails with a 
> NullPointerException.  If I revert back to ANT_HOME pointing at 1.9, 
> everything's fine.
> {noformat}
> C:\Users\sheisey\git\lucene-solr>ant clean
> Buildfile: C:\Users\sheisey\git\lucene-solr\build.xml
> BUILD FAILED
> C:\Users\sheisey\git\lucene-solr\build.xml:21: The following error occurred 
> while executing this line:
> C:\Users\sheisey\git\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)
>         at 
> java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
>         at 
> java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
>         at 
> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
>         at 
> java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
>         at 
> java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
>         at 
> java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
>         at 
> org.apache.tools.ant.util.ChainedMapper.lambda$mapFileName$1(ChainedMapper.java:36)
>         at java.util.stream.ReduceOps$1ReducingSink.accept(ReduceOps.java:80)
>         at 
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
>         at 
> java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
>         at 
> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
>         at 
> java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
>         at 
> java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
>         at 
> java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:484)
>         at 
> org.apache.tools.ant.util.ChainedMapper.mapFileName(ChainedMapper.java:35)
>         at 
> org.apache.tools.ant.util.CompositeMapper.lambda$mapFileName$0(CompositeMapper.java:32)
>         at 
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
>         at 
> java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
>         at 
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
>         at 
> java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
>         at 
> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
>         at 
> java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
>         at 
> java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
>         at 
> java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
>         at 
> org.apache.tools.ant.util.CompositeMapper.mapFileName(CompositeMapper.java:33)
>         at 
> org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>         at org.apache.tools.ant.Task.perform(Task.java:346)
>         at org.apache.tools.ant.Target.execute(Target.java:448)
>         at 
> org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:172)
>         at 
> org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:221)
>         at 
> org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:165)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>         at org.apache.tools.ant.Task.perform(Task.java:346)
>         at org.apache.tools.ant.Target.execute(Target.java:448)
>         at 
> org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:183)
>         at 
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
>         at org.apache.tools.ant.Main.runBuild(Main.java:824)
>         at org.apache.tools.ant.Main.startAnt(Main.java:228)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:283)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
> Total time: 0 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to