Hi, Can someone please update on this exception trace while we are using distributed search using shards parameter (solr-master-slave).
Thanks, Lokesh On Wed, Feb 17, 2016 at 5:33 PM, Lokesh Chhaparwal <xyzlu...@gmail.com> wrote: > Hi, > > We are facing NPE while using distributed search (Solr version 4.7.2) > (using *shards* parameter in solr query) > > Exception Trace: > ERROR - 2016-02-17 16:44:26.616; org.apache.solr.common.SolrException; > null:java.lang.NullPointerException > at org.apache.solr.response.XMLWriter.writeSolrDocument(XMLWriter.java:190) > at > org.apache.solr.response.TextResponseWriter.writeSolrDocumentList(TextResponseWriter.java:222) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:184) > at org.apache.solr.response.XMLWriter.writeNamedList(XMLWriter.java:227) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:188) > at org.apache.solr.response.XMLWriter.writeArray(XMLWriter.java:273) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:190) > at org.apache.solr.response.XMLWriter.writeNamedList(XMLWriter.java:227) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:188) > at org.apache.solr.response.XMLWriter.writeNamedList(XMLWriter.java:227) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:188) > at org.apache.solr.response.XMLWriter.writeResponse(XMLWriter.java:111) > at > org.apache.solr.response.XMLResponseWriter.write(XMLResponseWriter.java:40) > at > org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:756) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:428) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:205) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > at java.lang.Thread.run(Thread.java:745) > > > Can somebody help us in finding the root cause of this exception? > > FYI, we have documents split across 8 shards (num docs ~ 20 million) with > index size ~ 4 GB per node. We are using c3.2xlarge amazon ec2 machines > with solr running in apache tomcat (memory config 8 to 10 gb). Request > count ~ 200/sec. > > Thanks, > Lokesh > >