Latest NuGet 15.4.0.17 version Runtime Crashing in RELEASE mode XForms - Android

When using "Sdk and User Assemblies" DLL Linking mode - app crashes.

Xamarin Forms Version: 2.4.0.18342
Syncfusion.Xamarin.SfAutoComplete: 15.4.0.17


AndroidRuntime android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
  at Com.Syncfusion.Autocomplete.SfAutoComplete.CollectionAddition (System.Collections.Generic.IEnumerable`1[T] dataItems) [0x00143] in <a172bf52ec5d41ec911e468cd2b38d1c>:0 
  at Com.Syncfusion.Autocomplete.SfAutoComplete.set_DataSource (System.Collections.Generic.IEnumerable`1[T] value) [0x00060] in <a172bf52ec5d41ec911e468cd2b38d1c>:0 
  at Syncfusion.SfAutoComplete.XForms.Droid.SfAutoCompleteMapping.OnAutoCompletePropertiesChanged (System.String propertyName, Syncfusion.SfAutoComplete.XForms.SfAutoComplete formsAutoComplete, Com.Syncfusion.Autocomplete.SfAutoComplete nativeAutoComplete) [0x009d4] in <2c400d13789447f29b29ecdff203749a>:0 
  at Syncfusion.SfAutoComplete.XForms.Droid.SfAutoCompleteRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x0006c] in <2c400d13789447f29b29ecdff203749a>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000b9] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00023] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000d5] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00023] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000d5] in <398cf4d138ad48c7a756f39dfc252737>:0 
  at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <398cf4d

1 Reply

SK Selva Kumar  Veerakrishnan Syncfusion Team December 15, 2017 12:13 PM UTC

Hi Vidim,


Thank you for contacting Syncfusion Support.


We could not able to reproduce the issue “Crash when using Assemblies in SDK and User Assemblies linking mode”. We have prepared a sample for your reference, please download it from the link given below.


Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/AutoComplete_9-159713082.zip


If the issue persists at your end, Please update us with following details.

1. Modified sample with replication procedure.
2. Device details, in which the issue occurs.
This could help us to provide better solution on this query.


Please let us know if you have any concern about this.


Regards,

Selva Kumar V.

Loader.
Up arrow icon