#869 FileNotFoundException in Lucene Indexer

CVS_version
closed
Crashes (166)
5
2012-09-23
2006-12-06
Dare Obasanjo
No

The search index got corrupted somehow and now I get an error dialog every five minutes with the following stack trace

RSS Bandit 1.5.0.2 (Jubilee Beta 1)
OS Version: Microsoft Windows NT 5.1.2600.0
OS-Culture: en-US
Framework Version: .NET CLR v1.1.4322
Thread-Culture: en-US
UI-Culture: en-US
Additonal Info:
ExceptionManager.MachineName: DAREO204
ExceptionManager.TimeStamp: 12/5/2006 5:15:50 PM
ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.1521.25102, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: RSSBandit.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: REDMOND\dareo

Exception Information
RssBandit.BanditApplicationException: Unexpected Exception on SaveApplicationState() ---> System.IO.FileNotFoundException: Could not find file "C:\Documents and Settings\dareo\Local Settings\Application Data\RssBandit\index_4dmo.fnm".
File name: "C:\Documents and Settings\dareo\Local Settings\Application Data\RssBandit\index_4dmo.fnm"
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Lucene.Net.Store.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode)
at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path)
at Lucene.Net.Store.FSDirectory.OpenInput(String name)
at Lucene.Net.Index.FieldInfos..ctor(Directory d, String name)
at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si)
at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir)
at Lucene.Net.Index.SegmentReader.Get(SegmentInfo si)
at Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment, Int32 end)
at Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment)
at Lucene.Net.Index.IndexWriter.FlushRamSegments()
at Lucene.Net.Index.IndexWriter.Close()
at NewsComponents.Search.LuceneIndexModifier.Flush() in C:\Documents and Settings\dareo\My Documents\Visual Studio Projects\RSS Bandit\CurrentWork\Source\NewsComponents\Search\LuceneIndexModifier.cs:line 243
at NewsComponents.Search.LuceneSearch.PerformPendingIndexOperations() in C:\Documents and Settings\dareo\My Documents\Visual Studio Projects\RSS Bandit\CurrentWork\Source\NewsComponents\Search\LuceneSearch.cs:line 528
at RssBandit.RssBanditApplication.SaveApplicationState() in c:\documents and settings\dareo\my documents\visual studio projects\rss bandit\currentwork\source\rssbandit\core\rssbanditapplication.cs:line 4193
--- End of inner exception stack trace ---

Discussion