lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Gilchrest - Sun Microsystems <Donald.Gilchr...@Sun.COM>
Subject Re: Web demo example: Errors from Tomcat startup
Date Fri, 08 Feb 2002 21:34:52 GMT
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 <ian.lea@blackwell.co.uk>
> 
> > ...
> > 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>
> 


--
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