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. Image for the cookie policy date

SFAutocomplete crashes when inputting search text really fast

The bounded ItemSource contains around 20,000 items. When the user searches really fast, SFAutocomplete throws the below error. This can be easily reproduced if we quickly alternate and press 2 different letters on the keyboard continuously. 


  Message=setSpan (30 ... 30) ends beyond length 6

0xFFFFFFFFFFFFFFFF in Android.Runtime.JNIEnv.monodroid_debugger_unhandled_exception

0x1A in Android.Runtime.JNINativeWrapper._unhandled_exception at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:12,5

0x1D in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:23,26

0x17 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw

0x6 in System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0

0xC in Android.App.SyncContext. at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:36,19

0xE in Java.Lang.Thread.RunnableImplementor.Run at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36,6

0x8 in Java.Lang.IRunnableInvoker.n_Run at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net6.0/android-33/mcw/Java.Lang.IRunnable.cs:84,4

0x8 in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:22,5

2 Replies

YE Yeyi February 7, 2023 04:42 AM UTC

Update: When I changed TextSearchMode to "Contains" it no longer cra

AK Arunachalam Kandasamy Raja Syncfusion Team February 8, 2023 07:20 AM UTC

Hi Yeyi,  


Thanks for contacting Syncfusion support.  


We have fixed the reported issue" SfAutocomplete crashes when inputting search text really fast" and included the fix in our latest weekly NuGet version Can you please check the reported issue with the latest weekly NuGet version and let us know if you have any concerns. 



Arunachalam K

Live Chat Icon For mobile
Up arrow icon