Bug 52694 - iOS "More" tab options crash app
Summary: iOS "More" tab options crash app
Status: RESOLVED DUPLICATE of bug 47756
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-22 23:07 UTC by Brian
Modified: 2017-03-09 14:29 UTC (History)
4 users (show)

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


Attachments
Sample Project (154.65 KB, application/x-zip-compressed)
2017-02-22 23:23 UTC, Brian
Details


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 DUPLICATE of bug 47756

Description Brian 2017-02-22 23:07:00 UTC
In iOS when you have enough tabs to trigger the "More" tab, any tab option inside the More window crashes the app.

All I get back for an exception is Object Reference Null Exception.  

Posting a sample project.


Xamarin.Forms 2.3.4.192-pre2
Xamarin iOS Stable
Comment 1 Brian 2017-02-22 23:20:58 UTC
Actual Exception:

2017-02-22 18:13:02.389 TabbedPageCrash.iOS[66348:6910381] 
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Xamarin.Forms.Platform.iOS.Platform.GetRenderer (Xamarin.Forms.VisualElement bindable) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Platform.cs:198 
  at Xamarin.Forms.Platform.iOS.TabbedRenderer.GetViewController (Xamarin.Forms.Page page) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Renderers\TabbedRenderer.cs:159 
  at Xamarin.Forms.Platform.iOS.TabbedRenderer.ChildViewControllerForStatusBarHidden () [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Renderers\TabbedRenderer.cs:236 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-maci
os/src/UIKit/UIApplication.cs:79 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:63 
  at TabbedPageCrash.iOS.Application.Main (System.String[] args) [0x00001] in c:\data\TabbedPageCrash\TabbedPageCrash\TabbedPageCrash.iOS\Main.cs:17 
2017-02-22 18:13:02.390 TabbedPageCrash.iOS[66348:6910381] Unhandled managed exception:
Object reference not set to an instance of an object (System.NullReferenceException)
  at Xamarin.Forms.Platform.iOS.Platform.GetRenderer (Xamarin.Forms.VisualElement bindable) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Platform.cs:198 
  at Xamarin.Forms.Platform.iOS.TabbedRenderer.GetViewController (Xamarin.Forms.Page page) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Renderers\TabbedRenderer.cs:159 
  at Xamarin.Forms.Platform.iOS.TabbedRenderer.ChildVi
ewControllerForStatusBarHidden () [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Renderers\TabbedRenderer.cs:236 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:79 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:63 
  at TabbedPageCrash.iOS.Application.Main (System.String[] args) [0x00001] in c:\data\TabbedPageCrash\TabbedPageCrash\TabbedPageCrash.iOS\Main.cs:17
Comment 2 Brian 2017-02-22 23:23:51 UTC
Created attachment 19914 [details]
Sample Project
Comment 3 Paul DiPietro [MSFT] 2017-02-23 00:42:01 UTC

*** This bug has been marked as a duplicate of bug 47756 ***
Comment 4 Robert 2017-03-09 10:04:29 UTC
I can't access 47756 and have the same problem. What is the status of that bug? How do I get to view it?
Comment 5 Paul DiPietro [MSFT] 2017-03-09 14:29:55 UTC
It was privately filed; it's in progress and there is a PR merged at https://github.com/xamarin/Xamarin.Forms/pull/669