Markus Jelsma created SOLR-3564:
-----------------------------------
Summary: SpellcheckCollator NPE with timeAllowed set
Key: SOLR-3564
URL: https://issues.apache.org/jira/browse/SOLR-3564
Project: Solr
Issue Type: Bug
Components: spellchecker
Affects Versions: 4.0
Environment: 5.0-SNAPSHOT 1352525M - markus - 2012-06-21 15:23:39
Reporter: Markus Jelsma
Fix For: 4.0
If the query running time is exceeded during collation checking the
SpellcheckCollator throws the following NPE:
{code}
2012-06-21 14:34:12,875 WARN [solr.spelling.SpellCheckCollator] -
[http-8080-exec-28] - : Exception trying to re-query to check if a spell check
possi
bility would return any hits.
java.lang.NullPointerException
at
org.apache.solr.handler.component.ResponseBuilder.setResult(ResponseBuilder.java:399)
at
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:412)
at
org.apache.solr.spelling.SpellCheckCollator.collate(SpellCheckCollator.java:112)
at
org.apache.solr.handler.component.SpellCheckComponent.addCollationsToResponse(SpellCheckComponent.java:203)
at
org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:180)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:204)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1561)
....
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]