Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D0239B30 for ; Thu, 16 Feb 2012 22:47:29 +0000 (UTC) Received: (qmail 1454 invoked by uid 500); 16 Feb 2012 22:47:27 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 1349 invoked by uid 500); 16 Feb 2012 22:47:27 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 1190 invoked by uid 99); 16 Feb 2012 22:47:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 22:47:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 22:47:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B0E681BB31A for ; Thu, 16 Feb 2012 22:47:02 +0000 (UTC) Date: Thu, 16 Feb 2012 22:47:02 +0000 (UTC) From: "Mark Miller (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <1577144829.48595.1329432422725.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <782725543.32157.1329152939432.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3131) "details" command fails when a replication is forced with a "fetchIndex" command on a non-slave server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3131?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-3131: ------------------------------ Summary: "details" command fails when a replication is forced with a "f= etchIndex" command on a non-slave server (was: "details" command fails whi= le a replication is forced with a "fetchIndex" command on a non-slave serve= r) =20 > "details" command fails when a replication is forced with a "fetchIndex" = command on a non-slave server > -------------------------------------------------------------------------= ----------------------------- > > Key: SOLR-3131 > URL: https://issues.apache.org/jira/browse/SOLR-3131 > Project: Solr > Issue Type: Bug > Components: replication (java) > Affects Versions: 4.0 > Reporter: Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe > Assignee: Mark Miller > Priority: Minor > Attachments: SOLR-3131.patch > > > Steps to reproduce the problem: > 1) Start a master Solr instance (called A) > 2) Start a Solr instance with replication handler configured, but with no= "slave" configuration. (called B) > 3) Issue the request http://B:port/solr/replication?command=3Dfetchindex&= masterUrl=3Dhttp://A:port/solr/replication > 4) While B is fetching the index, issue the request: http://B:port/solr/r= eplication?command=3Ddetails > Expected behavior: See the replication details as usual. > Getting an exception instead: > java.lang.NullPointerException > =09at org.apache.solr.handler.ReplicationHandler.isPollingDisabled(Replic= ationHandler.java:447) > =09at org.apache.solr.handler.ReplicationHandler.getReplicationDetails(Re= plicationHandler.java:611) > =09at org.apache.solr.handler.ReplicationHandler.handleRequestBody(Replic= ationHandler.java:211) > =09at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHan= dlerBase.java:129) > =09at org.apache.solr.core.SolrCore.execute(SolrCore.java:1523) > =09at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilt= er.java:339) > =09at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFil= ter.java:234) > =09at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servl= etHandler.java:1212) > =09at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java= :399) > =09at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.j= ava:216) > =09at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java= :182) > =09at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java= :766) > =09at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:45= 0) > =09at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHa= ndlerCollection.java:230) > =09at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollectio= n.java:114) > =09at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java= :152) > =09at org.mortbay.jetty.Server.handle(Server.java:326) > =09at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:= 542) > =09at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(Http= Connection.java:928) > =09at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > =09at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > =09at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > =09at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnecto= r.java:228) > =09at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool= .java:582) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org