xamarin/Xamarin.Forms
System.NullReferenceException: in Platform.LayoutRootPage
Open
#3,990 opened on Oct 4, 2018
e/3 :clock3:has-stacktracehelp wantedi/highinactivep/Androidt/bug :bug:up-for-grabs
Repository metrics
- Stars
- (5,644 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Description
Crash in Xamarin Forms navigating from one page to another via hamburger menu. Not sure how actionable this is, unfortunately.
Here's the crash report stack trace from AppCenter:
Platform.LayoutRootPage (Xamarin.Forms.Page page, System.Int32 width, System.Int32 height)
System.NullReferenceException: Object reference not set to an instance of an object
Platform.LayoutRootPage (Xamarin.Forms.Page page, System.Int32 width, System.Int32 height)
IPlatformLayout.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b)
PlatformRenderer.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b)
ViewGroup.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)
(wrapper dynamic-method) System.Object.35(intptr,intptr,bool,int,int,int,int)
Steps to Reproduce
Navigating from one page to another in my app. Not reproducible with all pages. Reproduced several times (but not always) navigating from a settings page containing a tableview to a page with pivots containing listviews.
Expected Behavior
Actual Behavior
Basic Information
- Version with issue: 3.2.0.839982
- Last known good version: Unclear
- IDE: VS 2017 15.8.6
- Platform Target Frameworks:
- Android: 8.1
- Android Support Library Version: 27.0.2.1
- Nuget Packages:
- Affected Devices: LG V30 w/ Android 8.0