Skip to content

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

@apedance

Description

@apedance

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions