{"action":"created","issue":{"url":"https://api.github.com/repos/johncarl81/transfuse/issues/152","labels_url":"https://api.github.com/repos/johncarl81/transfuse/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/johncarl81/transfuse/issues/152/comments","events_url":"https://api.github.com/repos/johncarl81/transfuse/issues/152/events","html_url":"https://github.com/johncarl81/transfuse/issues/152","id":63895865,"number":152,"title":"occasional NPE in Fragment.onDestroy","user":{"login":"dbachelder","id":325706,"avatar_url":"https://avatars.githubusercontent.com/u/325706?v=3","gravatar_id":"","url":"https://api.github.com/users/dbachelder","html_url":"https://github.com/dbachelder","followers_url":"https://api.github.com/users/dbachelder/followers","following_url":"https://api.github.com/users/dbachelder/following{/other_user}","gists_url":"https://api.github.com/users/dbachelder/gists{/gist_id}","starred_url":"https://api.github.com/users/dbachelder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbachelder/subscriptions","organizations_url":"https://api.github.com/users/dbachelder/orgs","repos_url":"https://api.github.com/users/dbachelder/repos","events_url":"https://api.github.com/users/dbachelder/events{/privacy}","received_events_url":"https://api.github.com/users/dbachelder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-24T03:36:23Z","updated_at":"2015-05-16T19:34:58Z","closed_at":"2015-05-16T19:34:58Z","body":"Occasionally we are seeing these in our crash reporting tool... \r\n```\r\njava.lang.NullPointerException: Attempt to invoke virtual method 'void com.company.Component$$AOPProxy$$0.onDestroy()' on a null object reference\r\n       at com.company.ComponentFragment.onDestroy(ComponentFragment.java:207)\r\n       at android.support.v4.app.Fragment.performDestroy(Fragment.java:2006)\r\n```\r\n\r\nthe null reference is the delegate..... so, not sure how this could be happening, unless the onCreateView() didn't complete for some reason?! \r\n\r\nneedless to say, I can't reproduce this.. but though you should know.. perhaps there should be a null check.. or perhaps you see a reason this might happen, honestly I haven't dug into it deeply."},"comment":{"url":"https://api.github.com/repos/johncarl81/transfuse/issues/comments/102668933","html_url":"https://github.com/johncarl81/transfuse/issues/152#issuecomment-102668933","issue_url":"https://api.github.com/repos/johncarl81/transfuse/issues/152","id":102668933,"user":{"login":"dbachelder","id":325706,"avatar_url":"https://avatars.githubusercontent.com/u/325706?v=3","gravatar_id":"","url":"https://api.github.com/users/dbachelder","html_url":"https://github.com/dbachelder","followers_url":"https://api.github.com/users/dbachelder/followers","following_url":"https://api.github.com/users/dbachelder/following{/other_user}","gists_url":"https://api.github.com/users/dbachelder/gists{/gist_id}","starred_url":"https://api.github.com/users/dbachelder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbachelder/subscriptions","organizations_url":"https://api.github.com/users/dbachelder/orgs","repos_url":"https://api.github.com/users/dbachelder/repos","events_url":"https://api.github.com/users/dbachelder/events{/privacy}","received_events_url":"https://api.github.com/users/dbachelder/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T19:34:58Z","updated_at":"2015-05-16T19:34:58Z","body":"Looks fixed to me. We will obviously continue to monitor once it's in the wild"}}