Error value cannot be null with version 20.1.0.50

Hi

I have my app with Xamarin Forms, version 20.1.0.48, All its ok, but with the upgrade to version 20.1.0.50

I get errors with sfcombobox, I coding all my pages with c#, not xaml...

The error is:

{System.ArgumentNullException: Value cannot be null.

Parameter name: name

  at System.Type.GetProperty (System.String name, System.Reflection.BindingFlags bindingAttr) [0x00003] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Type.cs:230

  at System.Type.GetProperty (System.String name) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Type.cs:226

  at System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperty (System.Type type, System.String name) [0x00014] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/System.Runtime/src/System/Reflection/RuntimeReflectionExtensions.cs:74

  at Syncfusion.XForms.Android.ComboBox.SfComboBoxRenderer.NativeComboBoxOnSelectionChanged (System.Object sender, Syncfusion.Android.ComboBox.SelectionChangedEventArgs e) [0x000ec] in <f66566f1a92d44c5be2dff57c9143012>:0

  at Syncfusion.Android.ComboBox.SfComboBox.OnSelectionChanged (Syncfusion.Android.ComboBox.SelectionChangedEventArgs args) [0x00008] in <f66566f1a92d44c5be2dff57c9143012>:0

  at Syncfusion.Android.ComboBox.SfComboBox.GetSelectedData (System.String compareText, System.Boolean selected) [0x00236] in <f66566f1a92d44c5be2dff57c9143012>:0

  at Syncfusion.Android.ComboBox.SfComboBox.SelectedListData (System.Collections.Generic.IEnumerable`1[T] dataItems) [0x0016f] in <f66566f1a92d44c5be2dff57c9143012>:0

  at Syncfusion.Android.ComboBox.SfComboBox.SetSelectedValuesbasedOnInitialText () [0x0005e] in <f66566f1a92d44c5be2dff57c9143012>:0

  at Syncfusion.Android.ComboBox.SfComboBox.OnLayout (System.Boolean changed, System.Int32 left, System.Int32 top, System.Int32 right, System.Int32 bottom) [0x0027b] in <f66566f1a92d44c5be2dff57c9143012>:0

  at Android.Widget.LinearLayout.n_OnLayout_ZIIII (System.IntPtr jnienv, System.IntPtr native__this, System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x00008] in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/monoandroid10/android-29/mcw/Android.Widget.LinearLayout.cs:825

  at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.184(intptr,intptr,bool,int,int,int,int)}


Please help!



4 Replies

CH Charles April 23, 2022 02:39 PM UTC

I too am having a similar problem with sfcombobox 20.1.0.50.    Pages that I have the sfcombobox defined crashes my development application when I try to navigate to these pages.  I downgraded to 20.1.0.48 and the pages work fine.  

I'm using a Mac upgraded to MacOS Monterey version 12.3.1 with the lastest updates to Visual Studios (both 2019 and 2022 (Pre) have the save issue).  I'm using Xcode 13.3.1 to simulate various Apple IOS products.




KR Konstantin Ralev April 25, 2022 07:43 AM UTC

Same issue here



RS Ruba Shanmugam Syncfusion Team April 25, 2022 09:28 AM UTC

Hi Jose,

Sorry for the inconvenience, we have fixed the issue Error value cannot be nulland find the assembly from the attachment.


Note: Please refer to the below link to apply the custom assembly 


https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget


This fix will be included in our weekly NuGet release which will be rolled out on April 26, 2022. We appreciate your patience until then.


Regards,

Ruba Shanmugam


Attachment: SfComboBox_Crash_559f80df.zip


RS Ruba Shanmugam Syncfusion Team April 26, 2022 01:44 PM UTC

Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v20.1.0.51 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.


Loader.
Up arrow icon