Xamarin Forms Android Surface Duo: System.NullReferenceException at PlatformConfigurationExtensions.OnThisPlatform

Brent Esh 1 Reputation point
2022-07-18T13:47:34.433+00:00

I'm getting this error on Surface Duo devices only (Android 11, not reproducible, just got a few crash logs). 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)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,261 questions
{count} votes