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 <[EMAIL PROTECTED]>
> 
> > ...
> > 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to