Hi,
  We recently upgraded our solr version from 4.1 to 4.2 and started seeing
below exceptions when running distributed queries:
Any idea what we are missing here -

http://
<solr-host-1:8080>/solr/core1/select?q=*%3A*&wt=json&indent=true&shards=<solr-host-1:8080>/solr/core1
http://
<solr-host-1:8080>/solr/core1/select?q=*%3A*&wt=json&indent=true&shards=<solr-host-2:8080>/solr/core1
http://
<solr-host-1:8080>/solr/core1/select?q=*%3A*&wt=json&indent=true&shards=<solr-host-3:8080>/solr/core1

  "error":{
    "trace":"java.lang.NullPointerException\n\tat
org.apache.solr.handler.component.HttpShardHandler.checkDistributed(HttpShardHandler.java:340)\n\tat
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:182)\n\tat
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat
org.apache.solr.core.SolrCore.execute(SolrCore.java:1797)\n\tat
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:637)\n\tat
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:343)\n\tat
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:141)\n\tat
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)\n\tat
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)\n\tat
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)\n\tat
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)\n\tat
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat
java.lang.Thread.run(Unknown Source)\n",
    "code":500}}


Thanks,Sudhakar.

Reply via email to