bi-aidetection icon indicating copy to clipboard operation
bi-aidetection copied to clipboard

System.InvalidOperationException: Failed to compare two elements in the array.

Open apedance opened this issue 8 months ago • 5 comments

Hey there,

thanks for your hard work.

I installed the latest beta 2.6.95 today. When I launch the tool I get following error message and the images are not processed. They just pile up in the queue.

getting next URL: System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object. at ThreadSafe.DateTime.op_Equality(DateTime tsd1, DateTime tsd2) in C:\Documents\Projects_GIT\VorlonCD\bi-aidetection - NET6\src\UI\ThreadSafe.cs:line 370 at ThreadSafe.DateTime.CompareTo(DateTime other) in C:\Documents\Projects_GIT\VorlonCD\bi-aidetection - NET6\src\UI\ThreadSafe.cs:line 219 at System.Linq.EnumerableSorter2.CompareAnyKeys(Int32 index1, Int32 index2) at System.Collections.Generic.ArraySortHelper1.IntroSort(Span1 keys, Int32 depthLimit, Comparison1 comparer) at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer) --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper1.Sort(Span1 keys, Comparison1 comparer) at System.Linq.EnumerableSorter2.QuickSort(Int32[] keys, Int32 lo, Int32 hi) at System.Linq.OrderedEnumerable1.ToList() at AITool.AITOOL.WaitForNextURL(Camera cam, Boolean GetRefinementServer, List1 predictions, String RequiredLinkURLList, List1 MainURLs) in C:\Documents\Projects_GIT\VorlonCD\bi-aidetection - NET6\src\UI\AITOOL.cs:line 1108

I am using CodeProject AI and had no issues with previous versions. Was running 2.6.40 perfectly fine.

apedance avatar Jun 10 '24 13:06 apedance