lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Medina" <>
Subject IOException: No such path or directory
Date Thu, 14 Apr 2005 14:44:34 GMT
Hi Everyone,

The company I work for uses Lucene search 2 of their sites. Each site's
configuration is (almost) an mirror image of the other. The only difference
here is the content. We use a servlet to start up a Lucene mantainance
utility that keeps the indexes up to date. This servlet is set to load when
the servers are rebooted (which happens periodically). That way (ideally)
the mantainance util is started automatically.
I don't know if the information above is relevant to the problem, but I
thought I'd give it to you anyway, just in case.
Yesterday, I started seeing an ArrayIndexOutOfBounds exception in the logs.
I don't have the stack trace, but it is similar (almost identical, in fact)
to the stack trace found here:

Thinking maybe one of the indexes was corrupted, I decided to rebuild the
indexes from scratch: I stoped the mantainance utility, I deleted the
indexes, restarted the mantainance utility and let it rebuild the indexes.
This created another problem: the following exception showed up in the logs: No such path or directory.
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (
      java/lang/Exception.<init>(Ljava/lang/String;)V+1 (
+0 (
cene/store/FSInputStream;Ljava/io/File;Ljava/lang/String;)V+0 (:??)
      org/apache/lucene/store/FSInputStream.<init>(Ljava/io/File;)V+0 (:??)
pache/lucene/store/InputStream;+0 (:??)
ectory;Ljava/lang/String;)V+0 (:??)
SegmentInfo;)V+0 (:??)
      org/apache/lucene/index/IndexWriter.mergeSegments(I)V+0 (:??)
      org/apache/lucene/index/IndexWriter.optimize()V+0 (:??)
0 (:??)
      .../.../lucene/wc/update/LuceneUpdate.maintainIndex()V+0 (:??)
      .../.../lucene/wc/update/ (:??)
      java/lang/ (

Some index files are generated but then the program quits and this exception
shows up in the logs over, and over and over and over and over......., along
with other exceptions, primarily reporting lock issues (except no lock files
were found in the directory).  I finally had to stop the program, delete the
files and restart it. Only that time, it actually worked.
So far, the program seems to be working, but I would like to know what
caused this problem, and if it is going to show up again. This problem
started showing up after last week's reboot, maybe it had to do with it? Has
anyone encountered anything similar before? Any suggestions?

I appreciate your help.
Thank you,

Luis A. Medina

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message