lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12064) NullPointerException in JSON facet
Date Thu, 08 Mar 2018 01:20:00 GMT

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

Yonik Seeley commented on SOLR-12064:
-------------------------------------

Yeah, I'll try to get to it tomorrow.

> NullPointerException in JSON facet
> ----------------------------------
>
>                 Key: SOLR-12064
>                 URL: https://issues.apache.org/jira/browse/SOLR-12064
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>    Affects Versions: 7.2
>            Reporter: Karthik Ramachandran
>            Assignee: Yonik Seeley
>            Priority: Major
>         Attachments: SOLR-12064.patch, patch.diff, patch.diff
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> NullPointerException in JSON facet when using terms with limit -1 and more than one facet
> {f1:{terms:{field:'cat_ldS', limit:-1, sort:'n1 desc', facet:{n1:'avg(num_ldS)', n2:'sum(num_ldS)'}}}}}
> {noformat}
> java.lang.NullPointerException
> at org.apache.solr.search.facet.AvgSlotAcc.collect(SlotAcc.java:390)
> at org.apache.solr.search.facet.FacetFieldProcessor$MultiAcc.collect(FacetFieldProcessor.java:510)
> at org.apache.solr.search.facet.SlotAcc.collect(SlotAcc.java:97)
> at org.apache.solr.search.facet.FacetFieldProcessor.collectFirstPhase(FacetFieldProcessor.java:220)
> at org.apache.solr.search.facet.UnInvertedField.collectDocsGeneric(UnInvertedField.java:431)
> at org.apache.solr.search.facet.UnInvertedField.collectDocs(UnInvertedField.java:410)
> at org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF.collectDocs(FacetFieldProcessorByArrayUIF.java:64)
> at org.apache.solr.search.facet.FacetFieldProcessorByArray.calcFacets(FacetFieldProcessorByArray.java:108)
> at org.apache.solr.search.facet.FacetFieldProcessorByArray.process(FacetFieldProcessorByArray.java:58)
> at org.apache.solr.search.facet.FacetProcessor.processSubs(FacetProcessor.java:460)
> at org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:407)
> at org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:64)
> at org.apache.solr.search.facet.FacetModule.process(FacetModule.java:154)
> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:180)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)
> at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:710)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
> {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