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

Mikhail Khludnev commented on SOLR-12330:
-----------------------------------------

another NPE on omitting some values in range facets. Here's what seen on 
{{distrib=false}}
{quote}
 "error": {
        "trace": "java.lang.NullPointerException\n\tat 
org.apache.solr.search.facet.FacetRangeProcessor.createRangeList(FacetRange.java:216)\n\tat
 
org.apache.solr.search.facet.FacetRangeProcessor.getRangeCounts(FacetRange.java:206)\n\tat
 
org.apache.solr.search.facet.FacetRangeProcessor.process(FacetRange.java:98)\n\tat
 
org.apache.solr.search.facet.FacetProcessor.processSubs(FacetProcessor.java:455)\n\tat
 
org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:407)\n\tat
 
org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:64)\n\tat
 org.apache.solr.search.facet.FacetModule.process(FacetModule.java:148)\n\tat 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:304)\n\tat
 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
{quote}
However, on distributed processing we have: 
{quote}
"org.apache.solr.client.solrj.SolrServerException: No live SolrServers 
available to handle this request:[http://...
 "trace": "org.apache.solr.common.SolrException: 
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available 
to handle this request:[http://...
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:416)\n\tat
 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)\n\tat
 org.apache.solr.core.SolrCore.execute(SolrCore.java:2477)\n\tat 
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)\n\tat
{quote}
I suppose we can't hunt for those NPE rows one by one, but rater wrap 
{{FacetModule}} invocation with {{catch(Exception e) \{throw new 
SolrException(...,e);}}}

> Referencing non existing parameter in JSON Facet "filter" either reported too 
> little and even might be ignored 
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12330
>                 URL: https://issues.apache.org/jira/browse/SOLR-12330
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.3
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>            Priority: Major
>         Attachments: SOLR-12330.patch, SOLR-12330.patch
>
>
> Just encounter such weird behaviour, will recheck and followup. 
> {{"filter":["\{!v=$bogus}"]}} responds back with just NPE which makes 
> impossible to guess the reason.
> It might be even worse, since {{"filter":[\{"param":"bogus"}]}} seems like 
> just silently ignored.
> Once agin, I'll double check. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to