[ 
https://issues.apache.org/jira/browse/SOLR-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Jelsma updated SOLR-11768:
---------------------------------
    Description: 
Got this in the logs for almost all queries.

{code}
null:java.lang.NullPointerException
        at 
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:940)
        at 
org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:585)
        at 
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:564)
        at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:423)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:2484)
        at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:720)
        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolr
{code}

Yes it is a collection that got docValues for ID field recently. But, the same 
collection is reindexed automatically every 2 hours orso. The collection was 
not deleted and reindexed, just indexed over the existing documents, not 
updating very old documents. 

For now i reverted docValues=true and it is solved.

Some queries probably contained those older entries that did not get docValues 
for the ID.

  was:
Got this in the logs, no idea yet.

{code}
null:java.lang.NullPointerException
        at 
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:940)
        at 
org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:585)
        at 
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:564)
        at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:423)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:2484)
        at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:720)
        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolr
{code}

Oh great, it is for every query. 


> NPE in QueryComponent
> ---------------------
>
>                 Key: SOLR-11768
>                 URL: https://issues.apache.org/jira/browse/SOLR-11768
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.1
>            Reporter: Markus Jelsma
>             Fix For: master (8.0)
>
>
> Got this in the logs for almost all queries.
> {code}
> null:java.lang.NullPointerException
>       at 
> org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:940)
>       at 
> org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:585)
>       at 
> org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:564)
>       at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:423)
>       at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
>       at org.apache.solr.core.SolrCore.execute(SolrCore.java:2484)
>       at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:720)
>       at org.apache.solr.servlet.HttpSolrCall.call(HttpSolr
> {code}
> Yes it is a collection that got docValues for ID field recently. But, the 
> same collection is reindexed automatically every 2 hours orso. The collection 
> was not deleted and reindexed, just indexed over the existing documents, not 
> updating very old documents. 
> For now i reverted docValues=true and it is solved.
> Some queries probably contained those older entries that did not get 
> docValues for the ID.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to