[ https://issues.apache.org/jira/browse/SOLR-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042342#comment-13042342 ]
Dylan Etkin commented on SOLR-2121: ----------------------------------- This issue still exists in solr 3.1.0. The code snippet in the second comment does stop the NPE from happening. > distributed highlighting using q.alt=*:* causes NPE in finishStages > ------------------------------------------------------------------- > > Key: SOLR-2121 > URL: https://issues.apache.org/jira/browse/SOLR-2121 > Project: Solr > Issue Type: Bug > Reporter: Hoss Man > > As noted on the mailing list by Ron Mayer, using the example configs and > example data on trunk, this query works... > http://localhost:8983/solr/select?q.alt=*:*&hl=on&defType=edismax > ...but this query causes and NullPointerException... > http://localhost:8983/solr/select?q.alt=*:*&hl=on&defType=edismax&shards=localhost:8983/solr > Stack Trace... > {noformat} > java.lang.NullPointerException > at > org.apache.solr.handler.component.HighlightComponent.finishStage(HighlightComponent.java:158) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:310) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1324) > at > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) > {noformat} -- This message is automatically generated by JIRA. 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