Bug 37873 - NRE changing between tabs with NavigationPages
Summary: NRE changing between tabs with NavigationPages
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Rui Marinho
URL:
Depends on:
Blocks:
 
Reported: 2016-01-21 15:37 UTC by Rui Marinho
Modified: 2016-03-02 15:02 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Rui Marinho 2016-01-21 15:37:44 UTC
NRE changing between tabs with NavigationPages.

StackTrace

>  at Xamarin.Forms.Platform.iOS.Platform.GetRenderer (Xamarin.Forms.VisualElement bindable) [0x00000] in <filename unknown>:0 
>  at Xamarin.Forms.Platform.iOS.NavigationRenderer.GetAppearedOrDisappearedTask (Xamarin.Forms.Page page) [0x00011] in <filename unknown>:0 
>  at Xamarin.Forms.Platform.iOS.NavigationRenderer.RemoveViewControllers (Boolean animated) [0x00048] in <filename unknown>:0    at Xamarin.Forms.Platform.iOS.NavigationRenderer.PopToRootViewController (Boolean animated) [0x00008] in <filename unknown>:0 
> at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
> at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/UIKit/UIApplication.cs:77 
> at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/UIKit/UIApplication.cs:61 
> at xxxx.Application.Main (System.String[] args) [0x00035] in xxxx.Main.cs:30
Comment 1 Rui Marinho 2016-01-28 13:31:09 UTC
Should be fixed in 2.1.0
Comment 2 alex@agileapp.co 2016-02-09 10:16:08 UTC
Can you give any idea when 2.1.0 will be available in the stable channel? 

I have been having this issue for 6 months now and really could do with a fix. I notice that it is when the second tap of a tab occurs like when you would expect on the first tap to switch to that navigation stream and then when you wait a second and tap again it usually pops to root which I think is the part that seems to be failing!
Comment 3 Fulvio 2016-02-26 03:57:23 UTC
Any update on this?
Comment 4 Eric Schmitz 2016-03-02 15:02:50 UTC
I too am having the same issue in my production application.  I see this is marked as resolved fixed, yet there seems to be no fix yet?  I am using XF 2.0.1.6505