SfAutoComplete seems to be the root of a CancellationToken.ThrowOperationCanceledException

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

3 Replies

RB Rabhia Beham Kathar Mideenar Syncfusion Team April 25, 2018 12:54 PM UTC

Hi Jose,

Thanks for contacting Syncfusion Support.

We have checked the reported issue in SfAutoComplete Control. We are unable to reproduce the issue from our side. Since the exception is due to SfAutoComplete Control. We will fix the issue based on stack trace and the issue fix will be available in Volume 2 Release which will be rolled out by the end of May 2018.

Please let us know if you have any concern.

Regards,
Rabhia Beham K.



JO Jose June 6, 2018 08:07 AM UTC

Hi Rabhia,

Any news on when the release with this fix will be out?

Thanks,
Jose


RB Rabhia Beham Kathar Mideenar Syncfusion Team June 7, 2018 05:24 AM UTC

Hi Jose,

Sorry for the inconvenience.

Due to including licensing stuffs with our product, causing some delay with this release. You can expect the release in the second week of June 2018.

We appreciate your patience on this.

Regards,
Rabhia Beham K.


Loader.
Up arrow icon