This is a migrated thread and some comments may be shown as answers.

throw exception on ios when use ShowSuggestions

3 Answers 8 Views
AutoCompleteView
This is a migrated thread and some comments may be shown as answers.
Itai
Top achievements
Rank 1
Itai asked on 30 Jan 2020, 02:31 PM

Hey,

When I try to use autocomplete.ShowSuggestions() on Focused event it throws the following exception:

System.NullReferenceException: Object reference not set to an instance of an object
  at Telerik.XamarinForms.Common.Data.BindingExpressionHelper.CreateGetValueFunc (System.Type itemType, System.String propertyPath) [0x00087] in <d31b8c2f44a04552920107024c0e5e8b>:0 
  at Telerik.XamarinForms.Common.FunctionCreator.GetOrCreateValueFunc (System.Type type) [0x00036] in <d31b8c2f44a04552920107024c0e5e8b>:0 
  at Telerik.XamarinForms.Input.RadAutoCompleteView+<>c__DisplayClass233_0.<FilterItems>b__2 (System.Object suggestion) [0x00011] in <b1cca8ba717349bda560d7320d914ffe>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x00037] in <ee28ffe65f2e47a98ea97b07327fb8f4>:0 
  at System.Linq.Enumerable+<OfTypeIterator>d__32`1[TResult].MoveNext () [0x00067] in <ee28ffe65f2e47a98ea97b07327fb8f4>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source)

 

in Android everything is working great the problem is only in iOS

3 Answers, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 31 Jan 2020, 03:25 PM

Hello,

I have tested the described scenario and I cannot reproduce the exception.

Next steps:

Could you please open a support ticket and attach a repro project to it? In this way we could research the case further.

Additional information:

- on which iOS device/simulator the issue occurs?

Regards,
Didi
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Itai
Top achievements
Rank 1
answered on 31 Jan 2020, 05:02 PM

Hello,

I have tested the app on iphone 6.

 

I must say that I have already uploaded a veraion to app store and that didn't happe  to me, I left the project for a while and when I returned and added more featues i it happened.

0
Didi
Telerik team
answered on 03 Feb 2020, 08:42 AM

Hello,

Thank you for the provided information.

 As I am not aware with the exact setup you have and which features of the control are used, at this time there is no way for us helping diagnose the issue without replicating it. So, please open a support ticket and attach a sample runnable project to it.

Once we are able to reproduce the issue from our side, we will be able to investigate it further and provide more information on the matter.

Regards,
Didi
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
AutoCompleteView
Asked by
Itai
Top achievements
Rank 1
Answers by
Didi
Telerik team
Itai
Top achievements
Rank 1
Share this question
or