Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 21078 invoked from network); 11 Apr 2008 02:46:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2008 02:46:22 -0000 Received: (qmail 80453 invoked by uid 500); 11 Apr 2008 02:46:17 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80413 invoked by uid 500); 11 Apr 2008 02:46:17 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 80402 invoked by uid 99); 11 Apr 2008 02:46:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 19:46:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of liccohu@hotmail.com designates 65.54.246.236 as permitted sender) Received: from [65.54.246.236] (HELO bay0-omc3-s36.bay0.hotmail.com) (65.54.246.236) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 02:45:33 +0000 Received: from BAY113-DS3 ([65.54.168.90]) by bay0-omc3-s36.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Apr 2008 19:45:45 -0700 X-Originating-IP: [222.66.106.34] X-Originating-Email: [liccohu@hotmail.com] Message-ID: From: "kai.hu" In-Reply-To: To: References: Subject: about NullPointerException in DocumentsWriter$ThreadState.init(DocumentsWriter.java:751) Date: Fri, 11 Apr 2008 10:45:47 +0800 MIME-Version: 1.0 X-Unsent: 1 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-OriginalArrivalTime: 11 Apr 2008 02:45:45.0448 (UTC) FILETIME=[24226E80:01C89B7E] X-Virus-Checked: Checked by ClamAV on apache.org i got a problem yesterday, java.lang.NullPointerException at org.apache.lucene.index.DocumentsWriter$ThreadState.init(DocumentsWriter.java:751) at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:2391) at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:2434) at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:2422) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1445) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1424) so i debug the code ,found if the document add a null Field,it will throw this Exception. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org