As shown below I am getting an exception when adding the 11th item to an InMemoryFeatureLayer. The first ten items are added with no problem. When the add of the 11th item is committed I receive the exception as shown below.
After the 11th item the exception is encountered intermittenly, again on the EditTools.CommitTransaction().
It would appear that the MapSuite process that does the sorting is encountering an error. There are general references to this type of an error in any number of Internet Software Forms, including MSDN.
I receive the same error when doing a delete.
When in the VS2010 debugger I do not receive these exceptions.
Any assistance is appreciated.
Dennis
Message=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. x: 'GisSharpBlog.NetTopologySuite.Index.Strtree.STRtree+AnonymousAbstractNodeImpl', x's type: 'AnonymousAbstractNodeImpl', IComparer: 'GisSharpBlog.NetTopologySuite.Index.Strtree.STRtree+AnonymousXComparerImpl'.</Data>
My key is a simple string. For example, 24000001, 24000002, 24000003, etc.