-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.InvalidOperationException: Failed to compare two elements in the array. #348
Comments
I am having the same error. |
Sorry, missed this. I think at least one solution is to rename or delete _Settings\AITool.Settings.JSON. Everything would have to be re-configured from scratch. It looks like something related to a stored date is empty/null in your config. I'll add better error handling to that for the next release, but not sure when that might be. I just wonder why it never happened to me during testing. Always used the same config file. |
I just discovered that if I untick 'Queued' in the AI Server URLs section of Settings, I don't get the errors. |
following |
I had returned to this great tool but yes this latest version was giving me a lot of issues. I unticked the error box in the url server set up and also the mesh due to the error below Failure response from 'CodeProject_AI_Custom'. Error='The request timed out... and Failure response from 'CodeProject_AI_Custom'. Error='Unable to run inference: There is at least 1 reference to internal data Been at this for hours and it fills up with red logs
|
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.EnumerableSorter
2.CompareAnyKeys(Int32 index1, Int32 index2) at System.Collections.Generic.ArraySortHelper
1.IntroSort(Span1 keys, Int32 depthLimit, Comparison
1 comparer)at System.Collections.Generic.ArraySortHelper
1.Sort(Span
1 keys, Comparison1 comparer) --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper
1.Sort(Span1 keys, Comparison
1 comparer)at System.Linq.EnumerableSorter
2.QuickSort(Int32[] keys, Int32 lo, Int32 hi) at System.Linq.OrderedEnumerable
1.ToList()at AITool.AITOOL.WaitForNextURL(Camera cam, Boolean GetRefinementServer, List
1 predictions, String RequiredLinkURLList, List
1 MainURLs) in C:\Documents\Projects_GIT\VorlonCD\bi-aidetection - NET6\src\UI\AITOOL.cs:line 1108I am using CodeProject AI and had no issues with previous versions.
Was running 2.6.40 perfectly fine.
The text was updated successfully, but these errors were encountered: