Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 50668 invoked from network); 10 Feb 2002 18:59:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Feb 2002 18:59:07 -0000 Received: (qmail 5534 invoked by uid 97); 10 Feb 2002 18:58:51 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 5497 invoked by uid 97); 10 Feb 2002 18:58:50 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 12071 invoked from network); 8 Feb 2002 21:35:49 -0000 Message-Id: <200202082135.QAA18966@kaley.East.Sun.COM> Date: Fri, 8 Feb 2002 16:34:52 -0500 (EST) From: Don Gilchrest - Sun Microsystems Reply-To: Don Gilchrest - Sun Microsystems Subject: Re: Web demo example: Errors from Tomcat startup To: lucene-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: ywWzD+lrrydENTBve/GJdQ== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N D'oh! Thanks for pointing out that Ian! I looked at the demo instructions again more closing and noticed that Andy had specified ".." as the last argument: java -verbose org.apache.lucene.demo.IndexHTML -create -index {index} .. The command succeeds that way. thanks again, -don (embarrassed) > Date: Fri, 08 Feb 2002 21:09:26 +0000 > From: Ian Lea > > > ... > > Now, what about the NPE that Ken Munro cited (included below)? I'm > > encountering this too: > > > > dpg% cd $TOMCAT_HOME/webapps/ > > dpg% java -verbose org.apache.lucene.demo.IndexHTML -create -index > > /opt/lucene/index > > ... > > [Loaded java.io.RandomAccessFile from /usr/local/j2sdk1_3_1_02/jre/lib/rt.jar] > > caught a class java.lang.NullPointerException > > with message: null > > Looks like you need to include a file or directory name on the command > line as the last argument: > > e.g. $ java ...IndexHTML -create -index /where/ever somefile.html > > > > -- > Ian. > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: