Help save net neutrality! Learn more.
Close

#1359 File not found exception in Lucene leads to crash

v1.8.0.870
closed
Search (20)
5
2012-09-23
2009-05-06
No

2009-05-05 22:38:36,253 [BanditIndexAllThread] ERROR NewsComponents.Search.LuceneIndexModifier [(null)] - Error on flushing index and pending operations
Exception: System.IO.FileNotFoundException
Message: Could not find file 'C:\Users\dareo\AppData\Local\RssBandit\index_0.cfs'.
Source: mscorlib
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Lucene.Net.Store.FSDirectory.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode)
at Lucene.Net.Store.FSDirectory.FSIndexInput..ctor(FileInfo path, Int32 bufferSize)
at Lucene.Net.Store.FSDirectory.OpenInput(String name, Int32 bufferSize)
at Lucene.Net.Index.CompoundFileReader..ctor(Directory dir, String name, Int32 readBufferSize)
at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si, Int32 readBufferSize, Boolean doOpenStores)
at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir, Int32 readBufferSize, Boolean doOpenStores)
at Lucene.Net.Index.SegmentReader.Get(SegmentInfo si, Boolean doOpenStores)
at Lucene.Net.Index.IndexWriter.ApplyDeletes(Boolean flushedNewSegment)
at Lucene.Net.Index.IndexWriter.DoFlush(Boolean flushDocStores)
at Lucene.Net.Index.IndexWriter.Flush(Boolean triggerMerge, Boolean flushDocStores)
at Lucene.Net.Index.IndexWriter.CloseInternal(Boolean waitForMerges)
at Lucene.Net.Index.IndexWriter.Close(Boolean waitForMerges)
at Lucene.Net.Index.IndexWriter.Close()
at NewsComponents.Search.LuceneIndexModifier.FlushIndex(Boolean closeWriterOnly) in C:\Users\dareo\Documents\Visual Studio 2008\Projects\RSS Bandit\trunk\source\NewsComponents\Search\LuceneIndexModifier.cs:line 681
at NewsComponents.Search.LuceneIndexModifier.Flush(Boolean close) in C:\Users\dareo\Documents\Visual Studio 2008\Projects\RSS Bandit\trunk\source\NewsComponents\Search\LuceneIndexModifier.cs:line 191

2

Discussion


Log in to post a comment.