Skip to content

[BUG] Xamarin Forms Crash Log: System.NullReferenceException at PlatformConfigurationExtensions.OnThisPlatformΒ #119

@brentesh

Description

@brentesh

πŸ› 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 :(

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions