Welcome to the Xamarin.Android feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Android, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Related: https://www.syncfusion.com/forums/reply/140972/206745

Sample: http://www.syncfusion.com/downloads/support/forum/140972/ze/PopupDemo1787783141

In the related sample the Popup crashes with a NullReferenceException when opened for a second time (IsOpen) when all components are updated to 17.1.0.40 (currently latest version). This does not occur when the sample is not updated (16.3.0.21).

Tested with Android 6 and 9 with emulated and physical devices.

Stacktrace

Unhandled Exception:

System.NullReferenceException: Object reference not set to an instance of an object.

04-14 17:57:24.570 D/Mono    (10408): DllImport attempting to load: '/system/lib64/liblog.so'.
04-14 17:57:24.571 D/Mono    (10408): DllImport loaded library '/system/lib64/liblog.so'.
04-14 17:57:24.571 D/Mono    (10408): DllImport searching in: '/system/lib64/liblog.so' ('/system/lib64/liblog.so').
04-14 17:57:24.571 D/Mono    (10408): Searching for '__android_log_print'.
04-14 17:57:24.571 D/Mono    (10408): Probing '__android_log_print'.
04-14 17:57:24.571 D/Mono    (10408): Found as '__android_log_print'.
04-14 17:57:24.576 I/MonoDroid(10408): UNHANDLED EXCEPTION:
04-14 17:57:24.624 I/MonoDroid(10408): System.NullReferenceException: Object reference not set to an instance of an object.
04-14 17:57:24.625 I/MonoDroid(10408):   at Syncfusion.XForms.Android.PopupLayout.SfPopupLayout.PositionPopupView () [0x0003d] in <ff6247be50da417aab8129a1f12b83e4>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at Syncfusion.XForms.Android.PopupLayout.SfPopupLayout.DisplayPopup () [0x00026] in <ff6247be50da417aab8129a1f12b83e4>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at Syncfusion.XForms.Android.PopupLayout.SfPopupLayout.set_IsOpen (System.Boolean value) [0x00024] in <ff6247be50da417aab8129a1f12b83e4>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at Syncfusion.XForms.Android.PopupLayout.RendererHelper.MapSfPopupLayoutProperties (System.String propertyName, Syncfusion.XForms.PopupLayout.SfPopupLayout formsPopupLayout, Syncfusion.XForms.Android.PopupLayout.SfPopupLayout nativePopupLayout) [0x00030] in <ff6247be50da417aab8129a1f12b83e4>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at Syncfusion.XForms.Android.PopupLayout.SfPopupRenderer.OnElementPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x0000e] in <ff6247be50da417aab8129a1f12b83e4>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:173
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.Element.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:339
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00114] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:622
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00179] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:422
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) [0x00220] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:167
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.BindingExpression.Apply (System.Boolean fromTarget) [0x0003e] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:57
04-14 17:57:24.625 I/MonoDroid(10408):   at Xamarin.Forms.BindingExpression+BindingExpressionPart.<PropertyChanged>b__49_0 () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:618
04-14 17:57:24.625 I/MonoDroid(10408):   at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <95d915721ad748108ff096dce8f8f32c>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <95d915721ad748108ff096dce8f8f32c>:0
04-14 17:57:24.625 I/MonoDroid(10408):   at (wrapper dynamic-method) System.Object.35(intptr,intptr)
04-14 17:57:24.639 W/yname.PopupDem(10408): JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable
04-14 17:57:24.645 D/Mono    (10408): DllImport searching in: '__Internal' ('(null)').
04-14 17:57:24.645 D/Mono    (10408): Searching for 'java_interop_jnienv_throw'.
04-14 17:57:24.645 D/Mono    (10408): Probing 'java_interop_jnienv_throw'.
04-14 17:57:24.645 D/Mono    (10408): Found as 'java_interop_jnienv_throw'.
Unhandled Exception:

System.NullReferenceException: Object reference not set to an instance of an object.