{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/issues/957","repository_url":"https://api.github.com/repos/mozilla-mobile/firefox-tv","labels_url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/issues/957/comments","events_url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/issues/957/events","html_url":"https://github.com/mozilla-mobile/firefox-tv/issues/957","id":338071327,"node_id":"MDU6SXNzdWUzMzgwNzEzMjc=","number":957,"title":"java.lang.NullPointerException: Attempt to invoke virtual method 'void okhttp3.Cache.evictAll()' on a null object reference","user":{"login":"mcomella","id":759372,"node_id":"MDQ6VXNlcjc1OTM3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/759372?v=4","gravatar_id":"","url":"https://api.github.com/users/mcomella","html_url":"https://github.com/mcomella","followers_url":"https://api.github.com/users/mcomella/followers","following_url":"https://api.github.com/users/mcomella/following{/other_user}","gists_url":"https://api.github.com/users/mcomella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcomella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcomella/subscriptions","organizations_url":"https://api.github.com/users/mcomella/orgs","repos_url":"https://api.github.com/users/mcomella/repos","events_url":"https://api.github.com/users/mcomella/events{/privacy}","received_events_url":"https://api.github.com/users/mcomella/received_events","type":"User","site_admin":false},"labels":[{"id":777037891,"node_id":"MDU6TGFiZWw3NzcwMzc4OTE=","url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/labels/bug","name":"bug","color":"ee0701","default":true},{"id":777037895,"node_id":"MDU6TGFiZWw3NzcwMzc4OTU=","url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/milestones/13","html_url":"https://github.com/mozilla-mobile/firefox-tv/milestone/13","labels_url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/milestones/13/labels","id":3194015,"node_id":"MDk6TWlsZXN0b25lMzE5NDAxNQ==","number":13,"title":"v3.0","description":"+2 polish days at the end.","creator":{"login":"bbinto","id":122897,"node_id":"MDQ6VXNlcjEyMjg5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/122897?v=4","gravatar_id":"","url":"https://api.github.com/users/bbinto","html_url":"https://github.com/bbinto","followers_url":"https://api.github.com/users/bbinto/followers","following_url":"https://api.github.com/users/bbinto/following{/other_user}","gists_url":"https://api.github.com/users/bbinto/gists{/gist_id}","starred_url":"https://api.github.com/users/bbinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbinto/subscriptions","organizations_url":"https://api.github.com/users/bbinto/orgs","repos_url":"https://api.github.com/users/bbinto/repos","events_url":"https://api.github.com/users/bbinto/events{/privacy}","received_events_url":"https://api.github.com/users/bbinto/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":35,"state":"open","created_at":"2018-03-16T18:14:04Z","updated_at":"2018-08-10T17:45:07Z","due_on":"2018-09-05T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-07-03T22:15:03Z","updated_at":"2018-08-13T16:07:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The type signature is incorrect, it seems: `Cache` can return null:\r\n```kotlin\r\ntry { client.cache().evictAll() } catch (_: IOException) { /* We don't care. */ }\r\n```\r\n\r\n```\r\n    java.lang.NullPointerException: Attempt to invoke virtual method 'void okhttp3.Cache.evictAll()' on a null object reference\r\n        at org.mozilla.focus.utils.OkHttpWrapper.onLowMemory(OkHttpWrapper.kt:16)\r\n        at org.mozilla.focus.FocusApplication.onLowMemory(FocusApplication.java:60)\r\n        at android.app.ActivityThread.handleLowMemory(ActivityThread.java:4343)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1446)\r\n```\r\n\r\nThis happened on a Fire Stick while fast-forwarding and rewinding Youtube shortly after rebooting the device."},"comment":{"url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/issues/comments/412572394","html_url":"https://github.com/mozilla-mobile/firefox-tv/issues/957#issuecomment-412572394","issue_url":"https://api.github.com/repos/mozilla-mobile/firefox-tv/issues/957","id":412572394,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjU3MjM5NA==","user":{"login":"mcomella","id":759372,"node_id":"MDQ6VXNlcjc1OTM3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/759372?v=4","gravatar_id":"","url":"https://api.github.com/users/mcomella","html_url":"https://github.com/mcomella","followers_url":"https://api.github.com/users/mcomella/followers","following_url":"https://api.github.com/users/mcomella/following{/other_user}","gists_url":"https://api.github.com/users/mcomella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcomella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcomella/subscriptions","organizations_url":"https://api.github.com/users/mcomella/orgs","repos_url":"https://api.github.com/users/mcomella/repos","events_url":"https://api.github.com/users/mcomella/events{/privacy}","received_events_url":"https://api.github.com/users/mcomella/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T16:07:55Z","updated_at":"2018-08-13T16:07:55Z","author_association":"CONTRIBUTOR","body":"For this bug:\r\n- Update OkHttp to the latest version, which I think will cause the build to break because it adds the appropriate `@Nullable` annotation\r\n- Fix the compile error (or the issue if not)"}}
{"actor":{"display_login":"mcomella"}}