FilterCleaner throws exception ------------------------------ Key: LUCENENET-339 URL: https://issues.apache.org/jira/browse/LUCENENET-339 Project: Lucene.Net Issue Type: Bug Reporter: Michael Garski
The FilterCleaner that is used by the FilterManager to purge filters throws an exception when called: System.InvalidCastException: Objects are not Map.Entry: a is System.Int32; b is System.Int32 at Lucene.Net.Search.FilterManager.FilterCleaner.AnonymousClassComparator.Compare(Object a, Object b) in C:\SVN Projects\Lucene.Net\trunk\C#\src\Lucene.Net\Search\FilterManager.cs:line 210 at System.Collections.Generic.SortedDictionary`2.KeyValuePairComparer.Compare(KeyValuePair`2 x, KeyValuePair`2 y) at System.Collections.Generic.TreeSet`1.Add(T item) at System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value) at Lucene.Net.Search.FilterManager.FilterCleaner.Run() in C:\SVN Projects\Lucene.Net\trunk\C#\src\Lucene.Net\Search\FilterManager.cs:line 251 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() I'm working on a patch and will post it shortly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.