Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 35630 invoked from network); 29 Oct 2009 16:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Oct 2009 16:47:24 -0000 Received: (qmail 3609 invoked by uid 500); 29 Oct 2009 16:47:23 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 3527 invoked by uid 500); 29 Oct 2009 16:47:23 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 3517 invoked by uid 99); 29 Oct 2009 16:47:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 16:47:23 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 16:47:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5F369234C045 for ; Thu, 29 Oct 2009 09:46:59 -0700 (PDT) Message-ID: <356236027.1256834819375.JavaMail.jira@brutus> Date: Thu, 29 Oct 2009 16:46:59 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-1529) NullPointerException in LogUpdateProcessorFactory.java when deleting by query *only* In-Reply-To: <22786974.1256725319765.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved SOLR-1529. -------------------------------- Resolution: Fixed Fix Version/s: (was: 1.5) 1.4 Thanks, I just committed your patch (though I had to apply it by hand). > NullPointerException in LogUpdateProcessorFactory.java when deleting by query *only* > ------------------------------------------------------------------------------------ > > Key: SOLR-1529 > URL: https://issues.apache.org/jira/browse/SOLR-1529 > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Asmodean > Assignee: Yonik Seeley > Fix For: 1.4 > > Attachments: logger.patch > > > The problem occurs when a RequestUpdate has deletions that are all *byQuery (as opposed to *byId). The variable 'deletes' is in this case never initialized and will cause a NullPointerException in some cases (where the number of deletions are high enough). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.