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-9917) NPE in JSON facet merger
Date Thu, 05 Jan 2017 11:32:58 GMT

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

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

Commit 302cee59242c95b03750ebeb581b5ac27e8f2c55 in lucene-solr's branch refs/heads/branch_6x
from [~yonik@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=302cee5 ]

SOLR-9917: fix NPE in distrib percentiles when no values for field in bucket


> NPE in JSON facet merger
> ------------------------
>
>                 Key: SOLR-9917
>                 URL: https://issues.apache.org/jira/browse/SOLR-9917
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.3
>            Reporter: Markus Jelsma
>            Assignee: Yonik Seeley
>             Fix For: master (7.0), 6.4
>
>         Attachments: SOLR-9917.patch, SOLR-9917.patch
>
>
> I've spotted this before, and just now one of my unit tests does it as well. I believe
this happens when there is no data for the requested field.
> {code}
> java.lang.NullPointerException
>         at java.nio.ByteBuffer.wrap(ByteBuffer.java:396)
>         at org.apache.solr.search.facet.PercentileAgg$Merger.merge(PercentileAgg.java:195)
>         at org.apache.solr.search.facet.FacetBucket.mergeBucket(FacetBucket.java:90)
>         at org.apache.solr.search.facet.FacetRequestSortedMerger.mergeBucketList(FacetRequestSortedMerger.java:61)
>         at org.apache.solr.search.facet.FacetRangeMerger.mergeBucketList(FacetRangeMerger.java:27)
>         at org.apache.solr.search.facet.FacetRangeMerger.merge(FacetRangeMerger.java:91)
>         at org.apache.solr.search.facet.FacetRangeMerger.merge(FacetRangeMerger.java:43)
>         at org.apache.solr.search.facet.FacetBucket.mergeBucket(FacetBucket.java:90)
>         at org.apache.solr.search.facet.FacetQueryMerger.merge(FacetModule.java:444)
>         at org.apache.solr.search.facet.FacetModule.handleResponses(FacetModule.java:272)
> {code}



--
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


Mime
View raw message