When trying to filter on the "From" and "Parsed" columns, a system exception is generated by the iComparer method. The exception text is included below.
** Exception Text **
System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Collections.Generic.ObjectComparer1[BrightIdeasSoftware.ICluster]'. at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer(Object comparer) at System.Collections.Generic.ArraySortHelper1.Sort(T[] keys, Int32 index, Int32 length, IComparer1 comparer) at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer1 comparer)
at System.Collections.Generic.List1.Sort(Int32 index, Int32 count, IComparer1 comparer)
at BrightIdeasSoftware.FilterMenuBuilder.SortClusters(IClusteringStrategy strategy, List`1 clusters)
at BrightIdeasSoftware.FilterMenuBuilder.MakeFilterMenu(ToolStripDropDown strip, ObjectListView listView, OLVColumn column)
at BrightIdeasSoftware.ObjectListView.MakeFilteringMenu(ToolStripDropDown strip, Int32 columnIndex)
at BrightIdeasSoftware.ObjectListView.MakeHeaderRightClickMenu(Int32 columnIndex)
at BrightIdeasSoftware.ObjectListView.ShowHeaderRightClickMenu(Int32 columnIndex, Point pt)
at BrightIdeasSoftware.ObjectListView.HandleHeaderRightClick(Int32 columnIndex)
at BrightIdeasSoftware.ObjectListView.HandleContextMenu(Message& m)
at BrightIdeasSoftware.ObjectListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** JIT Debugging **
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
When trying to filter on the "From" and "Parsed" columns, a system exception is generated by the iComparer method. The exception text is included below.
** Exception Text ** System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Collections.Generic.ObjectComparer
1[BrightIdeasSoftware.ICluster]'. at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer(Object comparer) at System.Collections.Generic.ArraySortHelper
1.Sort(T[] keys, Int32 index, Int32 length, IComparer1 comparer) at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer
1 comparer) at System.Collections.Generic.List1.Sort(Int32 index, Int32 count, IComparer
1 comparer) at BrightIdeasSoftware.FilterMenuBuilder.SortClusters(IClusteringStrategy strategy, List`1 clusters) at BrightIdeasSoftware.FilterMenuBuilder.MakeFilterMenu(ToolStripDropDown strip, ObjectListView listView, OLVColumn column) at BrightIdeasSoftware.ObjectListView.MakeFilteringMenu(ToolStripDropDown strip, Int32 columnIndex) at BrightIdeasSoftware.ObjectListView.MakeHeaderRightClickMenu(Int32 columnIndex) at BrightIdeasSoftware.ObjectListView.ShowHeaderRightClickMenu(Int32 columnIndex, Point pt) at BrightIdeasSoftware.ObjectListView.HandleHeaderRightClick(Int32 columnIndex) at BrightIdeasSoftware.ObjectListView.HandleContextMenu(Message& m) at BrightIdeasSoftware.ObjectListView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
IPTComShark Assembly Version: 1.5.0.0 Win32 Version: 1.5.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/IPTComShark/IPTComShark.exe
System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.2556.0 built by: NET471REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
sonesson-tools Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/IPTComShark/sonesson-tools.DLL
System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.2556.0 built by: NET471REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
ObjectListView Assembly Version: 2.9.1.25410 Win32 Version: 2.9.1.0 CodeBase: file:///C:/Program%20Files%20(x86)/IPTComShark/ObjectListView.DLL
System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
SMDiagnostics Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
System.ServiceModel.Internals Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.2556.0 built by: NET471REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
SharpCompress Assembly Version: 0.23.0.0 Win32 Version: 0.23.0 CodeBase: file:///C:/Program%20Files%20(x86)/IPTComShark/SharpCompress.DLL
System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
PacketDotNet Assembly Version: 0.16.0.0 Win32 Version: 0.16.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/IPTComShark/PacketDotNet.DLL
SharpPcap Assembly Version: 4.4.0.0 Win32 Version: 4.4.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/IPTComShark/SharpPcap.DLL
** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.