{"action":"opened","issue":{"url":"https://api.github.com/repos/ismail-s/JTime/issues/259","repository_url":"https://api.github.com/repos/ismail-s/JTime","labels_url":"https://api.github.com/repos/ismail-s/JTime/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/ismail-s/JTime/issues/259/comments","events_url":"https://api.github.com/repos/ismail-s/JTime/issues/259/events","html_url":"https://github.com/ismail-s/JTime/issues/259","id":217246672,"number":259,"title":"Fix crashes due to calls to setRefreshing method","user":{"login":"ismail-s","id":3778413,"avatar_url":"https://avatars2.githubusercontent.com/u/3778413?v=3","gravatar_id":"","url":"https://api.github.com/users/ismail-s","html_url":"https://github.com/ismail-s","followers_url":"https://api.github.com/users/ismail-s/followers","following_url":"https://api.github.com/users/ismail-s/following{/other_user}","gists_url":"https://api.github.com/users/ismail-s/gists{/gist_id}","starred_url":"https://api.github.com/users/ismail-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismail-s/subscriptions","organizations_url":"https://api.github.com/users/ismail-s/orgs","repos_url":"https://api.github.com/users/ismail-s/repos","events_url":"https://api.github.com/users/ismail-s/events{/privacy}","received_events_url":"https://api.github.com/users/ismail-s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-27T13:31:07Z","updated_at":"2017-03-27T13:31:07Z","closed_at":null,"body":"In the pre-launch report for version 1.6.0 of the app, the following stack trace appeared several times (deobfuscated):\r\n\r\n```\r\njava.lang.NullPointerException: Attempt to invoke virtual method 'void android.s\r\nupport.v4.widget.SwipeRefreshLayout.setRefreshing(boolean)' on a null object ref\r\nerence\r\n        at com.ismail_s.jtime.android.fragment.AllMasjidsFragment.hideRefreshIco\r\nn(AllMasjidsFragment.java)\r\n        at com.ismail_s.jtime.android.fragment.AllMasjidsFragment.onCreateView(A\r\nllMasjidsFragment.java)\r\n                                                                  onRefresh(AllM\r\nasjidsFragment.java)\r\n                                                                  onLocationChan\r\nged(AllMasjidsFragment.java)\r\n                                                                  sortMasjidsByL\r\nocation(AllMasjidsFragment.java)\r\n                                                                  sortMasjidsByN\r\name(AllMasjidsFragment.java)\r\n                                                                  access$hideRef\r\nreshIcon(AllMasjidsFragment.java)\r\n                                                                  access$sortMas\r\njidsByLocation(AllMasjidsFragment.java)\r\n                                                                  access$sortMas\r\njidsByName(AllMasjidsFragment.java)\r\n        at com.ismail_s.jtime.android.fragment.AllMasjidsFragment$onRefresh$1$2.\r\ninvoke(AllMasjidsFragment.java)\r\n        at com.ismail_s.jtime.android.fragment.AllMasjidsFragment$onRefresh$1$2.\r\ninvoke(AllMasjidsFragment.java)\r\n        at nl.komponents.kovenant.AbstractPromise$FailCallbackContextNode$runFai\r\nl$1.invoke(AbstractPromise.java)\r\n        at nl.komponents.kovenant.AbstractPromise$FailCallbackContextNode$runFai\r\nl$1.invoke(AbstractPromise.java)\r\n        at nl.komponents.kovenant.android.BasicAndroidDispatcher$FnRunnable.run(\r\nBasicAndroidDispatcher.java)\r\n        at nl.komponents.kovenant.android.LooperExecutor.handleMessage(LooperExe\r\ncutor.java)\r\n        at android.os.Handler.dispatchMessage(Handler.java:98)\r\n        at android.os.Looper.loop(Looper.java:145)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6837)\r\n        at java.lang.reflect.Method.invoke(Method.java)\r\n        at java.lang.reflect.Method.invoke(Method.java:372)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit\r\n.java:1404)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)\r\n```\r\n\r\nThis caused the app to crash. This needs to be fixed."}}
{"actor":{"display_login":"ismail-s"}}