surface-duo-sdk
surface-duo-sdk copied to clipboard
[BUG] Xamarin Forms Crash Log: System.NullReferenceException at PlatformConfigurationExtensions.OnThisPlatform
🐛 Describe the bug
Crash log on Surface Duo devices only (Android 11, not reproducible but have gotten the log multiple times). Any ideas what could be causing this?
PlatformConfigurationExtensions.OnThisPlatform[T] (T element) System.NullReferenceException: Object reference not set to an instance of an object
PlatformConfigurationExtensions.OnThisPlatform[T] (T element) FragmentContainer.OnPause () Fragment.n_OnPause (System.IntPtr jnienv, System.IntPtr native__this) (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.129(intptr,intptr)
✔️ Expected behavior
Either a better exception or no exception at all
🪜 Steps to reproduce
Not reproducible :(
Hey @brentesh
thanks for sharing!
Do you have a more informational logtrace where apps's or system's packages are shown? Without that info it is very difficult to guess from where that crash is coming from.
Also:
- Is this crash log making the device to reboot?
- is this crash coming after you have used any of our libraries (this repository) and or samples?
Please, any extra information is very appreciate.
Thanks, Cesar