Hello,

We're trying to add remove spiders from our Solr stats by adding offending 
IPs to a file in [dspace]/config/spiders then running "dspace stats-util 
-m".  However this results in the following NullPointerException:

ERROR org.apache.solr.core.SolrCore @ java.lang.NullPointerException
    at 
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:903)
    at 
org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:649)
    at 
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:628)
    at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:311)
    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:241)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:50)
    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:203)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    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:313)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)

How can we resolve this?  

Thanks,

Anthony

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to