[ https://issues.apache.org/jira/browse/SOLR-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated SOLR-4049: -------------------------------- Component/s: SolrCloud > Spelcheck NPE > ------------- > > Key: SOLR-4049 > URL: https://issues.apache.org/jira/browse/SOLR-4049 > Project: Solr > Issue Type: Bug > Components: SolrCloud, spellchecker > Affects Versions: 4.0, 5.0 > Environment: 5.0.0.2012.11.07.11.39.14 > Reporter: Markus Jelsma > Fix For: 4.1, 5.0 > > > In SolrCloud when we have some shard unavailable we get the followine NPE in > the SpellcheckComponent > {code} > java.lang.NullPointerException > at > org.apache.solr.handler.component.SpellCheckComponent.finishStage(SpellCheckComponent.java:297) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:315) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:144) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1830) > at > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:476) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:276) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > at > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) > at > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > {code} > We can also trigger this error manually when running a phrase query : q="a > b". This is regardless of the value for spellcheck.q. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org