[
https://issues.apache.org/jira/browse/SOLR-10753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026636#comment-16026636
]
Hoss Man commented on SOLR-10753:
---------------------------------
following fails reliably with NPE...
{noformat}
ant test -Dtestcase=StreamExpressionTest -Dtests.method=testArray
-Dtests.seed=FF67716FF72EA807 -Dtests.slow=true -Dtests.locale=hu-HU
-Dtests.timezone=PNT -Dtests.asserts=true -Dtests.file.encoding=UTF-8
...
[junit4] ERROR 0.16s | StreamExpressionTest.testArray <<<
[junit4] > Throwable #1: java.lang.NullPointerException
[junit4] > at
__randomizedtesting.SeedInfo.seed([FF67716FF72EA807:5941390BC1769A68]:0)
[junit4] > at
org.apache.solr.client.solrj.io.stream.StreamExpressionTest.testArray(StreamExpressionTest.java:5751)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{noformat}
Seed doesn't seem to matter, same failure reproduces for this test method any
way i try it.
> Add array Stream Evaluator
> --------------------------
>
> Key: SOLR-10753
> URL: https://issues.apache.org/jira/browse/SOLR-10753
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Fix For: master (7.0)
>
> Attachments: SOLR-10753.patch
>
>
> The *array* Stream Evaluator returns an array of numbers. It can contain
> numbers and evaluators that return numbers.
> Syntax:
> {code}
> a = array(1, 2, 3, 4, 5, 6)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]