lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@blackwell.co.uk>
Subject Re: Web demo example: Errors from Tomcat startup
Date Fri, 08 Feb 2002 21:09:26 GMT
> ...
> 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:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message