Hi,
I have a number of SfAutoComplete controls in my app and I am also using HockeyApp to deal with exceptions. As it happens, sometimes HockeyApp pops up with an exception when the application is running and the exception it reports is the following:
Xamarin caused by: android.runtime.JavaProxyThrowable: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException () [0x00015] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Threading.CancellationToken.ThrowIfCancellationRequested () [0x00008] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at Com.Syncfusion.Autocomplete.SfAutoComplete+<>c__DisplayClass433_1.<ContainswithDynamic>b__1 () [0x00035] in <d130842ed2744cdda0fb3f157dac8698>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException () [0x00015] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Threading.CancellationToken.ThrowIfCancellationRequested () [0x00008] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at Com.Syncfusion.Autocomplete.SfAutoComplete+<>c__DisplayClass433_1.<ContainswithDynamic>b__1 () [0x00035] in <d130842ed2744cdda0fb3f157dac8698>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <fcbf47a04b2e4d90beafbae627e1fca4>:0 <---
This does NOT crash the application but it is intrusive. I wonder if this is something you can solve? I am sorry but I am not able to do a proper repro. I see this in my Android build (not developing iOS now), I am using version 16.1.0.26 of SfAutoComplete and I have a mix of string lists and object lists bound to the various SfAutoCompletes.
Thanks
Jose