We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SFCombobox System.Threading.Tasks.UnobservedTaskExceptionEventArgs

Thread ID:

Created:

Updated:

Platform:

Replies:

150552 Jan 10,2020 05:03 PM UTC Jan 13,2020 11:26 AM UTC Xamarin.Forms 1
loading
Tags: SfComboBox
Pete Ramirez
Asked On January 10, 2020 05:03 PM UTC

SFComboBox 17.4.0.1
Xamarin Forms, 4.4.0.991265
We're getting an unobserved exception with the information below. What is SFComboBox trying to do at that point? (we don't have source code):
{System.Threading.Tasks.UnobservedTaskExceptionEventArgs}
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. (The operation was canceled.)
e.Exception.InnerExceptions[0].StackTrace
at System.Threading.CancellationToken.ThrowOperationCanceledException () [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs:338
at System.Threading.CancellationToken.ThrowIfCancellationRequested () [0x00008] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs:333
at Syncfusion.Android.ComboBox.SfComboBox+<>c__DisplayClass627_1.b__1 () [0x00035] in :0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2476
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319

Hemalatha Marikumar [Syncfusion]
Replied On January 13, 2020 11:26 AM UTC

Hi Pete Ramirez, 
  
Greetings from Syncfusion. 
  
We would like to let you know that we were able to reproduce the reported crash issue with after enabling all exception from Common Language Runtime Exception settings by continuously typing the text quickly.  We have checked and analyzed the reported crash issue. In our SfComboBox, we used the Asynchronous method to search for data. To that end, we used the cancelation of the task as described below  
  
A "TaskCanceledException was unhandled by user code" error will be raised here if "Just My Code" is enabled on your computer. On Express editions JMC is enabled and cannot be disabled. The exception is to begin.  Just press F5 to continue executing your code.
 
 
We already logged an improvement task for getting better performance of search the data with asynchronous in SfComboBox, it can be tracked through our feedback portal below.    
              
   
Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we committed with already planned work. So, this feature will be available for any of our upcoming releases.  
   
If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal.  
   
Please let us know if you need any other details.
  
 
Regards, 
Hemalatha M. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon