{"action":"created","issue":{"url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup/issues/250","repository_url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup","labels_url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup/issues/250/comments","events_url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup/issues/250/events","html_url":"https://github.com/rotorgames/Rg.Plugins.Popup/issues/250","id":298522386,"number":250,"title":"[IOS] Object reference not set to an instance of an object after close popup and move to other page.","user":{"login":"Raystorm7","id":7420345,"avatar_url":"https://avatars3.githubusercontent.com/u/7420345?v=4","gravatar_id":"","url":"https://api.github.com/users/Raystorm7","html_url":"https://github.com/Raystorm7","followers_url":"https://api.github.com/users/Raystorm7/followers","following_url":"https://api.github.com/users/Raystorm7/following{/other_user}","gists_url":"https://api.github.com/users/Raystorm7/gists{/gist_id}","starred_url":"https://api.github.com/users/Raystorm7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raystorm7/subscriptions","organizations_url":"https://api.github.com/users/Raystorm7/orgs","repos_url":"https://api.github.com/users/Raystorm7/repos","events_url":"https://api.github.com/users/Raystorm7/events{/privacy}","received_events_url":"https://api.github.com/users/Raystorm7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T09:25:19Z","updated_at":"2018-04-10T06:26:34Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI have a itemMenu in a tabbedPage that opens a RgPopup.\r\nWhen I open the popup and then close it, then close the tabbed page and return to the previous page and then try to move to another page, this error is triggered:\r\n\r\n```\r\n[0:] System.NullReferenceException: Object reference not set to an instance of an object\r\n  at Xamarin.Forms.Platform.iOS.PageRenderer.SetElementSize (Xamarin.Forms.Size size) [0x00000] in D:\\agent_work\\1\\s\\Xamarin.Forms.Platform.iOS\\Renderers\\PageRenderer.cs:63 \r\n  at Rg.Plugins.Popup.IOS.Renderers.PopupPageRenderer.KeyBoardUpNotification (Foundation.NSNotification notifi) [0x0003c] in <f0c2f165454f4412a2b16a9f4bf28a4f>:0 \r\n  at Foundation.InternalNSNotificationHandler.Post (Foundation.NSNotification s) [0x00000] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/Foundation/NSNotificationCenter.cs:48 \r\n  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)\r\n  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/UIKit/UIApplication.cs:79 \r\n  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/UIKit/UIApplication.cs:63 \r\n  at SgatMobileV2.iOS.Application.Main (System.String[] args) [0x00002] in C:\\Users\\pozzy\\Documents\\PROGETTI\\SgatMobile\\AppSgatMobile\\SgatMobileV2\\SgatMobileV2.iOS\\Main.cs:12 \r\nUnhandled Exception:\r\n\r\nSystem.NullReferenceException: Object reference not set to an instance of an object\r\n```\r\n\r\nI have attacched gifs for show the problem:\r\n\r\nApp crash if I open the popup:\r\n![Crash](https://i.imgur.com/YAyBTDk.gif)\r\n\r\n\r\nApp works if I not open the popup:\r\n![No Crash](https://i.imgur.com/xHKRzRp.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup/issues/comments/379988273","html_url":"https://github.com/rotorgames/Rg.Plugins.Popup/issues/250#issuecomment-379988273","issue_url":"https://api.github.com/repos/rotorgames/Rg.Plugins.Popup/issues/250","id":379988273,"user":{"login":"Raystorm7","id":7420345,"avatar_url":"https://avatars3.githubusercontent.com/u/7420345?v=4","gravatar_id":"","url":"https://api.github.com/users/Raystorm7","html_url":"https://github.com/Raystorm7","followers_url":"https://api.github.com/users/Raystorm7/followers","following_url":"https://api.github.com/users/Raystorm7/following{/other_user}","gists_url":"https://api.github.com/users/Raystorm7/gists{/gist_id}","starred_url":"https://api.github.com/users/Raystorm7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raystorm7/subscriptions","organizations_url":"https://api.github.com/users/Raystorm7/orgs","repos_url":"https://api.github.com/users/Raystorm7/repos","events_url":"https://api.github.com/users/Raystorm7/events{/privacy}","received_events_url":"https://api.github.com/users/Raystorm7/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T06:26:34Z","updated_at":"2018-04-10T06:26:34Z","author_association":"NONE","body":"@libin85 Unfortunately no :("}}
{"actor":{"display_login":"Raystorm7"}}