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 D8C3C9852 for ; Mon, 9 Apr 2012 16:35:40 +0000 (UTC) Received: (qmail 82475 invoked by uid 500); 9 Apr 2012 16:35:39 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82410 invoked by uid 500); 9 Apr 2012 16:35:39 -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 82401 invoked by uid 99); 9 Apr 2012 16:35:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2012 16:35:39 +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; Mon, 09 Apr 2012 16:35:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3E3883614D4 for ; Mon, 9 Apr 2012 16:35:18 +0000 (UTC) Date: Mon, 9 Apr 2012 16:35:18 +0000 (UTC) From: "Benson Margulies (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <381343212.3203.1333989318275.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <679904748.3122.1333988239653.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3342) Diagnosis of lacking 'indexedId' seems to be lacking MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benson Margulies updated SOLR-3342: ----------------------------------- Comment: was deleted (was: I've answered my own question: DistributedUpdateProcessorFactory. Where could I edit a wiki to save someone else the trouble? ) > Diagnosis of lacking 'indexedId' seems to be lacking > ---------------------------------------------------- > > Key: SOLR-3342 > URL: https://issues.apache.org/jira/browse/SOLR-3342 > Project: Solr > Issue Type: Bug > Affects Versions: 4.0 > Reporter: Benson Margulies > > I tried to use CloudSolrServer via code that works fine with an ordinary, non-sharded deployment. > I got this backtrace on the client: > {noformat} > Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://tinfoilhat.local:9170/solr, http://tinfoilhat.local:9169/solr, http://tinfoilhat.local:9167/solr] > at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:326) > at org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:188) > at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:104) > at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:122) > at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:107) > {noformat} > Which was in turn caused by: > {noformat} > Apr 9, 2012 12:06:13 PM org.apache.solr.common.SolrException log > SEVERE: null:java.lang.NullPointerException > at org.apache.solr.update.processor.DistributedUpdateProcessor.hash(DistributedUpdateProcessor.java:855) > at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:252) > at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:97) > at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:135) > ... > {noformat} > Which was in turn caused by the fact that the AddUpdateCommand object has nothing in the indexedId. > I think that this must be caused by: > {noformat} > > > > > > > class="solr.XmlUpdateRequestHandler"> > > RNI > > > {noformat} > doesn't have enough stuff in it. Would it be reasonable to ask for a better diagnosis? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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