lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radomir Mladenovic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5566) NPE in NamedList when using highlighting with shards
Date Fri, 20 Dec 2013 18:58:09 GMT
Radomir Mladenovic created SOLR-5566:
----------------------------------------

             Summary: NPE in NamedList when using highlighting with shards
                 Key: SOLR-5566
                 URL: https://issues.apache.org/jira/browse/SOLR-5566
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 4.4, 4.6
            Reporter: Radomir Mladenovic


Using shards to search multiple cores (on the same Solr server) but, when highlighting is
enabled, request fails _for some queries_ with due to NPE error:

{quote}
java.lang.NullPointerException
    at org.apache.solr.common.util.NamedList.nameValueMapToList(NamedList.java:110)
    at org.apache.solr.common.util.NamedList.<init>(NamedList.java:76)
    at org.apache.solr.common.util.SimpleOrderedMap.<init>(SimpleOrderedMap.java:58)
    at org.apache.solr.handler.component.HighlightComponent.finishStage(HighlightComponent.java:191)
    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:317)
    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1904)
    at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:659)
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:362)
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
{quote}




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message