lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3564) SpellcheckCollator NPE with timeAllowed set
Date Thu, 21 Jun 2012 14:54:42 GMT

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

James Dyer updated SOLR-3564:
-----------------------------

    Priority: Minor  (was: Major)

Changing the priority to "minor" as the only downside to this bug is the logged exception
& stack trace.
                
> 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
>            Priority: Minor
>             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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message