lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12875) ArrayIndexOutOfBoundsException when using uniqueBlock(_root_) in JSON Facets
Date Wed, 31 Oct 2018 09:31:00 GMT

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

ASF subversion and git services commented on SOLR-12875:
--------------------------------------------------------

Commit 5aa8ad5b14ab7f6f8f3191cba39285c3a0bf9112 in lucene-solr's branch refs/heads/jira/http2
from [~mkhludnev]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5aa8ad5 ]

SOLR-12875: AIOOBE fix when unique()/uniqueBlock() is used with DVHASH method in json.facet


> ArrayIndexOutOfBoundsException when using uniqueBlock(_root_) in JSON Facets
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-12875
>                 URL: https://issues.apache.org/jira/browse/SOLR-12875
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>    Affects Versions: 7.5
>            Reporter: Tim Underwood
>            Assignee: Mikhail Khludnev
>            Priority: Major
>             Fix For: 7.6, master (8.0)
>
>         Attachments: SOLR-12875.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I'm seeing java.lang.ArrayIndexOutOfBoundsException exceptions for some requests when
trying to make use of
> {noformat}
> uniqueBlock(_root_){noformat}
> within JSON Facets.
> Here are some example Stack Traces:
> {noformat}
> 2018-10-12 14:08:50.587 ERROR (qtp215078753-3353) [   x:my_core] o.a.s.s.HttpSolrCall
null:java.lang.ArrayIndexOutOfBoundsException: Index 13 out of bounds for length 8
>         at org.apache.solr.search.facet.UniqueBlockAgg$UniqueBlockSlotAcc.collectOrdToSlot(UniqueBlockAgg.java:40)
>         at org.apache.solr.search.facet.UniqueSinglevaluedSlotAcc.collect(UniqueSinglevaluedSlotAcc.java:85)
>         at org.apache.solr.search.facet.FacetFieldProcessor.collectFirstPhase(FacetFieldProcessor.java:243)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.collectValFirstPhase(FacetFieldProcessorByHashDV.java:432)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.access$100(FacetFieldProcessorByHashDV.java:50)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV$5.collect(FacetFieldProcessorByHashDV.java:395)
>         at org.apache.solr.search.DocSetUtil.collectSortedDocSet(DocSetUtil.java:284)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.collectDocs(FacetFieldProcessorByHashDV.java:376)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.calcFacets(FacetFieldProcessorByHashDV.java:247)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.process(FacetFieldProcessorByHashDV.java:214)
>         at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368)
>         at org.apache.solr.search.facet.FacetProcessor.processSubs(FacetProcessor.java:472)
>         at org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:429)
>         at org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:64)
>         at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368)
>         at org.apache.solr.search.facet.FacetModule.process(FacetModule.java:139)
>         at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
> {noformat}
>  
> Here is another one at a different location in UniqueBlockAgg:
>   
> {noformat}
> 2018-10-12 21:37:57.322 ERROR (qtp215078753-4072) [   x:my_core] o.a.s.h.RequestHandlerBase
java.lang.ArrayIndexOutOfBoundsException: Index 23 out of bounds for length 16
>         at org.apache.solr.search.facet.UniqueBlockAgg$UniqueBlockSlotAcc.getValue(UniqueBlockAgg.java:59)
>         at org.apache.solr.search.facet.SlotAcc.setValues(SlotAcc.java:146)
>         at org.apache.solr.search.facet.FacetFieldProcessor.fillBucket(FacetFieldProcessor.java:431)
>         at org.apache.solr.search.facet.FacetFieldProcessor.findTopSlots(FacetFieldProcessor.java:381)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.calcFacets(FacetFieldProcessorByHashDV.java:249)
>         at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.process(FacetFieldProcessorByHashDV.java:214)
>         at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368)
>         at org.apache.solr.search.facet.FacetProcessor.processSubs(FacetProcessor.java:472)
>         at org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:429)
>         at org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:64)
>         at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368)
>         at org.apache.solr.search.facet.FacetModule.process(FacetModule.java:139)
>         at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
> {noformat}
>  
>  
>  
>  



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

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


Mime
View raw message