{"action":"created","issue":{"url":"https://api.github.com/repos/Julien-Mialon/StormXamarin/issues/7","labels_url":"https://api.github.com/repos/Julien-Mialon/StormXamarin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Julien-Mialon/StormXamarin/issues/7/comments","events_url":"https://api.github.com/repos/Julien-Mialon/StormXamarin/issues/7/events","html_url":"https://github.com/Julien-Mialon/StormXamarin/issues/7","id":108379622,"number":7,"title":"Program crash. Switching fragments","user":{"login":"snipervld","id":12143129,"avatar_url":"https://avatars.githubusercontent.com/u/12143129?v=3","gravatar_id":"","url":"https://api.github.com/users/snipervld","html_url":"https://github.com/snipervld","followers_url":"https://api.github.com/users/snipervld/followers","following_url":"https://api.github.com/users/snipervld/following{/other_user}","gists_url":"https://api.github.com/users/snipervld/gists{/gist_id}","starred_url":"https://api.github.com/users/snipervld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipervld/subscriptions","organizations_url":"https://api.github.com/users/snipervld/orgs","repos_url":"https://api.github.com/users/snipervld/repos","events_url":"https://api.github.com/users/snipervld/events{/privacy}","received_events_url":"https://api.github.com/users/snipervld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-25T18:06:16Z","updated_at":"2015-10-02T17:33:36Z","closed_at":null,"body":"Hello.\r\nI found a bug. It's definetly a bug, because it works fine with regular fragments, but not with fragements inherited from FragmentBase. I did some research and realize that this issue comes from OnCreateView in FragmentBase on the line 48: \"parent.RemoveView(RootView);\". Maybe, because parent is null or because RootView has been corrupted when fragment has disappeared from the screen.\r\n\r\nError trace (cutted):\r\n<b>Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object\r\nat Storm.Mvvm.FragmentBase.OnCreateView (Android.Views.LayoutInflater,Android.Views.ViewGroup,Android.OS.Bundle) <0x0006c>\r\nat Android.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle_ (intptr,intptr,intptr,intptr,intptr) <0x000a3>\r\n...</b>\r\n\r\nTo reproduce this bug, you need to perform following steps:\r\n1) Open application;\r\n2) Move to third fragment;\r\n3) Then move to the second fragment;\r\n4) Bug appears when you move in this fragment;\r\n\r\nThanks\r\nhttps://onedrive.live.com/redir?resid=BE878B196C95461B!1074&authkey=!AK-KeUnBQURHBPY&ithint=file%2crar"},"comment":{"url":"https://api.github.com/repos/Julien-Mialon/StormXamarin/issues/comments/145093558","html_url":"https://github.com/Julien-Mialon/StormXamarin/issues/7#issuecomment-145093558","issue_url":"https://api.github.com/repos/Julien-Mialon/StormXamarin/issues/7","id":145093558,"user":{"login":"snipervld","id":12143129,"avatar_url":"https://avatars.githubusercontent.com/u/12143129?v=3","gravatar_id":"","url":"https://api.github.com/users/snipervld","html_url":"https://github.com/snipervld","followers_url":"https://api.github.com/users/snipervld/followers","following_url":"https://api.github.com/users/snipervld/following{/other_user}","gists_url":"https://api.github.com/users/snipervld/gists{/gist_id}","starred_url":"https://api.github.com/users/snipervld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipervld/subscriptions","organizations_url":"https://api.github.com/users/snipervld/orgs","repos_url":"https://api.github.com/users/snipervld/repos","events_url":"https://api.github.com/users/snipervld/events{/privacy}","received_events_url":"https://api.github.com/users/snipervld/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T17:33:36Z","updated_at":"2015-10-02T17:33:36Z","body":"Any ideas yet!"}}