Tapping on soft-keyboard "Action key" causes the app crash when DataSource is filled

I have some SFAutoCompelete controls and I set their DataSource dynamically(through MVVM binding). Whenever user taps on "Action Key" on soft-keyboard(by Action Key I mean those special keys such as Go, Search, Done, etc depending on context) app crashes and this happens only when user doesn't enter anything on autocomplete's entry AND DataSource is filled i.e it's not null and has some items in its bound collection. Here is exception message:


05-14 13:38:11.925 I/MonoDroid(30504): UNHANDLED EXCEPTION:
05-14 13:38:11.929 I/MonoDroid(30504): System.NullReferenceException: Object reference not set to an instance of an object.
05-14 13:38:11.929 I/MonoDroid(30504): at Com.Syncfusion.Autocomplete.SfAutoComplete.CombineCollections () [0x0000a] in :0
05-14 13:38:11.929 I/MonoDroid(30504): at Com.Syncfusion.Autocomplete.SfAutoComplete.GetSelectedData (System.String compareText, System.Boolean selected) [0x00000] in :0
05-14 13:38:11.929 I/MonoDroid(30504): at Com.Syncfusion.Autocomplete.SfAutoComplete.SelectedListData (System.Collections.Generic.IEnumerable`1[T] dataItems) [0x0014f] in :0
An unhandled exception occured.
05-14 13:38:11.929 I/MonoDroid(30504): at Com.Syncfusion.Autocomplete.SfAutoComplete.b__447_0 (System.Object sender, Android.Widget.TextView+EditorActionEventArgs e) [0x000f2] in :0
05-14 13:38:11.929 I/MonoDroid(30504): at Android.Widget.TextView+IOnEditorActionListenerImplementor.OnEditorAction (Android.Widget.TextView v, Android.Views.InputMethods.ImeAction actionId, Android.Views.KeyEvent e) [0x00015] in <25661073a35344a89f215a4cf81af37c>:0
05-14 13:38:11.929 I/MonoDroid(30504): at Android.Widget.TextView+IOnEditorActionListenerInvoker.n_OnEditorAction_Landroid_widget_TextView_ILandroid_view_KeyEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v, System.Int32 native_actionId, System.IntPtr native_e) [0x0001a] in <25661073a35344a89f215a4cf81af37c>:0
05-14 13:38:11.929 I/MonoDroid(30504): at (wrapper dynamic-method) System.Object.0c119609-09d9-4aec-a8c9-e22039c635ea(intptr,intptr,intptr,int,intptr)
05-14 13:38:11.939 W/art (30504): JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable

5 Replies

RB Rabhia Beham Kathar Mideenar Syncfusion Team May 16, 2018 06:24 AM UTC

Hi VahidShir,

We have checked the reported issue in SfAutoComplete Control. We could able to reproduce the issue.We have fixed the reported issue in SfAutoComplete Control. And the fix will be available in Volume 2 release which is expected to be rolled out by the end of this month.

Please let us know if you have any concern.

Regards,
Rabhia Beham K.



VS Vahid Sh May 16, 2018 06:56 AM UTC

Thank you Rabhia Beham K.
I look forward to seeing that release.


RB Rabhia Beham Kathar Mideenar Syncfusion Team May 17, 2018 05:02 AM UTC

Hi VahidShir,

Thanks for the update.

As promised earlier the fix will be available in Volume 2 release which is expected to be rolled out by the end of this month. We will let you once it has been rolled out.

Regards,
Rabhia Beham K.


VS Vahid Sh June 3, 2018 06:12 AM UTC

Hi Rabhia Beham K.

Any update on the mentioned release?

Thanks


RB Rabhia Beham Kathar Mideenar Syncfusion Team June 4, 2018 12:33 PM UTC

 Hi VahidShir,
 
Due to including licensing stuffs with our product, causing some delay with this release. You can expect the release in the first week of June 2018. 
We appreciate your patience on this.

Regards,
Rabhia Beham K.


Loader.
Up arrow icon