this is the release 1.2 code. the exception as reported by debug is
java.lang.NullPointerException
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:146)
at org.apache.lucene.demo.IndexFiles.main(IndexFiles.java:73)
this is either the RAMDirectory close() or the Lock close(). i am inclined to think it
is the RAMDirectory class that is having the problem. i am running Lucene under
Windows 2000 and the single directory has 120,000 files in it. no subdirectories.
Herb....
-----Original Message-----
From: Otis Gospodnetic +AFs-mailto:otis+AF8-gospodnetic+AEA-yahoo.com+AF0-
Sent: Saturday, November 01, 2003 9:28 AM
To: Lucene Users List
Subject: Re: crash in Lucene
I suggest you recompile Lucene with the compiler debug flag set (-g, I
think). That will show you/us the exact line number for that NPE.
Is this a version of Lucene from CVS? 1-3RC2? 1.2?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]