Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 86576 invoked from network); 19 Aug 2008 09:09:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2008 09:09:54 -0000 Received: (qmail 57252 invoked by uid 500); 19 Aug 2008 09:09:47 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 57223 invoked by uid 500); 19 Aug 2008 09:09:47 -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 57211 invoked by uid 99); 19 Aug 2008 09:09:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 02:09:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aditigupta20@gmail.com designates 209.85.142.191 as permitted sender) Received: from [209.85.142.191] (HELO ti-out-0910.google.com) (209.85.142.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 09:08:50 +0000 Received: by ti-out-0910.google.com with SMTP id b8so1327979tic.11 for ; Tue, 19 Aug 2008 02:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=/KMyh1/VL7Y5PlJejAnFxyVgnrNUajnnYSdcAWcG/P4=; b=voF4D9vq1jh+fadA9Tt40v461xLVntXgdUkaiVLH2f0C/GzPJenBfB6KbkKx2qvCb+ Qj5L3LVnqk8lZBSig+LWfiCMOUqe6pr8o5BYr8qz4MiWgW/SNxt6nauezln1LJl/c68h 2VE/0frydt0I/tOx55ivKTMuH8c4NtC71V49s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=lj6r19BeG7QVGbs1cFG5FMEtSyZ+NEaqlU24TqJ9z4pdX/QrOuGohSEXVOZvyH9Kfm dxgTKzYcdRlmXCI1v8fg7/rW6sIOr1eBXJ5ENrJ2lbAnaaIdVe91atmx+Zm/Sx9BYm2W 3h1/4nLfsEvn/k8kNlA44SHsFA0/QDEV6YfdI= Received: by 10.110.14.12 with SMTP id 12mr6888748tin.19.1219136958179; Tue, 19 Aug 2008 02:09:18 -0700 (PDT) Received: by 10.110.109.13 with HTTP; Tue, 19 Aug 2008 02:09:18 -0700 (PDT) Message-ID: <6fc71b230808190209q1587eb68gbcb5f3b55af7ff17@mail.gmail.com> Date: Tue, 19 Aug 2008 14:39:18 +0530 From: "Aditi Goyal" To: java-user@lucene.apache.org Subject: java.lang.NullPointerExcpetion while indexing on linux MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_93199_3411266.1219136958160" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_93199_3411266.1219136958160 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I am using IndexWriter for adding the documents. I am re-using the document as well as the fields for improving index speed as per the link http://wiki.apache.org/lucene-java/ImproveIndexingSpeed. So, for each doc, i am first removing field using doc.removeField() and then field.setValue() for changing the value of the field and finally doc.add(field) for adding the field to the document. It works fine on windows, however it throws (, JavaError(,) when I run indexwriter.addDocument(doc) on Linux. Can anyone please guide why is it happening this way. I am using lucene 2.3.1 version and JCC version is 1.8 and Python is 2.5 Thanks, Aditi ------=_Part_93199_3411266.1219136958160--