Bug 38801 - Changing MasterDetail Page Title after app resuming causes an exception
Summary: Changing MasterDetail Page Title after app resuming causes an exception
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.0.0
Hardware: PC Mac OS
: Normal major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-02-16 14:49 UTC by John Miller [MSFT]
Modified: 2017-01-03 02:56 UTC (History)
3 users (show)

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

Sample Project (71.16 KB, application/zip)
2016-02-16 14:50 UTC, John Miller [MSFT]

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 for Bug 38801 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description John Miller [MSFT] 2016-02-16 14:49:43 UTC

   Changing a MasterDetail Pages title after the app resumes will cause an exception. 

**Steps to Reproduce:**

1. Start the app

2. Open the Menu (click on the back-arrow)

3. Click on "Goto subpage"

4. Click on "Change language to XY"

5. Navigate back through the navigation stack until the app is minimized

6. Reopen the app

7. Open the Menu (click on the back-arrow)

8. Click on "Goto subpage"

9. Click on "Change language to XY"

**Actual Results:**

   System.NullReferenceExceptionObject reference not set to an instance of an object

   See attached stacktrace.txt

**Expected Results:**

   No Exceptions

**Build Date & Platform:**

   XF 2.1-pre4
Comment 2 John Miller [MSFT] 2016-02-16 14:50:54 UTC
Created attachment 15058 [details]
Sample Project

Use this sample for reproducing the issue.
Comment 3 adrianknight89 2016-12-05 07:29:54 UTC
I tried to reproduce this on AppCompat, but I could not. Looks like this might be an issue with FormsApplicationActivity.