lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Garski (JIRA)" <>
Subject [jira] Created: (LUCENENET-339) FilterCleaner throws exception
Date Thu, 04 Feb 2010 22:11:28 GMT
FilterCleaner throws exception

                 Key: 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

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
   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
   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.

View raw message