You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2016/07/06 17:49:11 UTC

[jira] [Commented] (SOLR-9285) ArrayIndexOutOfBoundsException when ValueSourceAugmenter used with RTG on uncommitted doc

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

Hoss Man commented on SOLR-9285:
--------------------------------

Assertion...

{code}
    // also check real-time-get from transaction log
    assertJQ(req("qt","/get", "id","99", "fl","val_ss:val_i, val2_ss:10, subject")
             ,"/doc=={'val2_ss':10,'val_ss':1,'subject':'uncommitted'}"
    );
{code}

Failure...

{noformat}
   [junit4] ERROR   0.06s J1 | TestPseudoReturnFields.testMultiValuedRTG <<<
   [junit4]    > Throwable #1: java.lang.ArrayIndexOutOfBoundsException: -1
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([35D25075C14EB91B:4D9722282B16D95D]:0)
   [junit4]    > 	at java.util.ArrayList.elementData(ArrayList.java:418)
   [junit4]    > 	at java.util.ArrayList.get(ArrayList.java:431)
   [junit4]    > 	at java.util.Collections$UnmodifiableList.get(Collections.java:1309)
   [junit4]    > 	at org.apache.solr.response.transform.ValueSourceAugmenter.transform(ValueSourceAugmenter.java:94)
   [junit4]    > 	at org.apache.solr.response.transform.DocTransformers.transform(DocTransformers.java:76)
   [junit4]    > 	at org.apache.solr.handler.component.RealTimeGetComponent.process(RealTimeGetComponent.java:219)
   [junit4]    > 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:292)
   [junit4]    > 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:154)
   [junit4]    > 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:2035)
   [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:310)
   [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:292)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:846)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:815)
   [junit4]    > 	at org.apache.solr.search.TestPseudoReturnFields.testMultiValuedRTG(TestPseudoReturnFields.java:108)
{noformat}

> ArrayIndexOutOfBoundsException when ValueSourceAugmenter used with RTG on uncommitted doc
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-9285
>                 URL: https://issues.apache.org/jira/browse/SOLR-9285
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>
> Found in SOLR-9180 testing.
> Even in single node solr envs, doing an RTG for an uncommitted doc that uses ValueSourceAugmenter causes an ArrayIndexOutOfBoundsException



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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