Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 36146 invoked from network); 5 Feb 2010 09:44:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 09:44:52 -0000 Received: (qmail 42269 invoked by uid 500); 5 Feb 2010 09:44:51 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 42192 invoked by uid 500); 5 Feb 2010 09:44:51 -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 42177 invoked by uid 99); 5 Feb 2010 09:44:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 09:44:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Fri, 05 Feb 2010 09:44:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E5926234C4A8 for ; Fri, 5 Feb 2010 01:44:27 -0800 (PST) Message-ID: <1238091582.64981265363067939.JavaMail.jira@brutus.apache.org> Date: Fri, 5 Feb 2010 09:44:27 +0000 (UTC) From: "Noble Paul (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1757) DIH multithreading sometimes throws NPE In-Reply-To: <611598273.56951265336067890.JavaMail.jira@brutus.apache.org> 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-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-1757: ----------------------------- Attachment: SOLR-1757.patch > DIH multithreading sometimes throws NPE > --------------------------------------- > > Key: SOLR-1757 > URL: https://issues.apache.org/jira/browse/SOLR-1757 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 1.4 > Environment: tomcat 6.0.x, jdk 1.6.x on windows xp 32bit > Reporter: Michael Henson > Assignee: Noble Paul > Attachments: solr-1352-threads-bt.txt, SOLR-1757.patch > > > When the "threads" attribute is set on a root entity in the DIH's data-config.xml, the multithreading code sometimes throws a NullPointerException after the full-index command is given. > I haven't yet been able to figure out exactly which reference holds the null or why, but it does happen consistently with the same backtrace. > My configuration is: > 1. Multi-core Solr under tomcat > 2. Using JdbcDataSource and the default SqlEntityProcessor > To reproduce: > 1. Add the attribute threads="2" to the root entity declaration in data-config.xml > 2. Send the full-import command either directly to .../core/dataimport?command=full-import or through the /admin/dataimport.jsp control panel. > 3. Wait for the NPE to show up in the logs/console -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.