{"action":"created","issue":{"url":"https://api.github.com/repos/kazijehangir/BloodHub/issues/6","repository_url":"https://api.github.com/repos/kazijehangir/BloodHub","labels_url":"https://api.github.com/repos/kazijehangir/BloodHub/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/kazijehangir/BloodHub/issues/6/comments","events_url":"https://api.github.com/repos/kazijehangir/BloodHub/issues/6/events","html_url":"https://github.com/kazijehangir/BloodHub/issues/6","id":244918305,"number":6,"title":"Crash when logging in:","user":{"login":"kazijehangir","id":12759818,"avatar_url":"https://avatars0.githubusercontent.com/u/12759818?v=4","gravatar_id":"","url":"https://api.github.com/users/kazijehangir","html_url":"https://github.com/kazijehangir","followers_url":"https://api.github.com/users/kazijehangir/followers","following_url":"https://api.github.com/users/kazijehangir/following{/other_user}","gists_url":"https://api.github.com/users/kazijehangir/gists{/gist_id}","starred_url":"https://api.github.com/users/kazijehangir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazijehangir/subscriptions","organizations_url":"https://api.github.com/users/kazijehangir/orgs","repos_url":"https://api.github.com/users/kazijehangir/repos","events_url":"https://api.github.com/users/kazijehangir/events{/privacy}","received_events_url":"https://api.github.com/users/kazijehangir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-23T15:44:27Z","updated_at":"2017-10-18T21:09:10Z","closed_at":"2017-10-18T21:09:10Z","author_association":"OWNER","body":"I registered a new account, verified the email through the link in the email (which is pretty cool), and then tried to log in as it showed the login screen after registration. \r\nIt crashed with this error:\r\n07-24 00:42:31.247 20134-20134/? E/AndroidRuntime: FATAL EXCEPTION: main\r\n                                                   Process: com.jexapps.bloodhub, PID: 20134\r\n                                                   java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.jexapps.bloodhub.m_Model.User.account_type' on a null object reference\r\n                                                       at com.jexapps.bloodhub.LoginActivity$7.onDataChange(LoginActivity.java:197)\r\n                                                       at com.google.firebase.database.Query$1.onDataChange(Unknown Source)\r\n                                                       at com.google.android.gms.internal.zzbmz.zza(Unknown Source)\r\n"},"comment":{"url":"https://api.github.com/repos/kazijehangir/BloodHub/issues/comments/337728497","html_url":"https://github.com/kazijehangir/BloodHub/issues/6#issuecomment-337728497","issue_url":"https://api.github.com/repos/kazijehangir/BloodHub/issues/6","id":337728497,"user":{"login":"kazijehangir","id":12759818,"avatar_url":"https://avatars0.githubusercontent.com/u/12759818?v=4","gravatar_id":"","url":"https://api.github.com/users/kazijehangir","html_url":"https://github.com/kazijehangir","followers_url":"https://api.github.com/users/kazijehangir/followers","following_url":"https://api.github.com/users/kazijehangir/following{/other_user}","gists_url":"https://api.github.com/users/kazijehangir/gists{/gist_id}","starred_url":"https://api.github.com/users/kazijehangir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazijehangir/subscriptions","organizations_url":"https://api.github.com/users/kazijehangir/orgs","repos_url":"https://api.github.com/users/kazijehangir/repos","events_url":"https://api.github.com/users/kazijehangir/events{/privacy}","received_events_url":"https://api.github.com/users/kazijehangir/received_events","type":"User","site_admin":false},"created_at":"2017-10-18T21:09:09Z","updated_at":"2017-10-18T21:09:09Z","author_association":"OWNER","body":"Fixed now."}}
{"actor":{"display_login":"kazijehangir"}}