{"action":"created","issue":{"url":"https://api.github.com/repos/square/okhttp/issues/2526","repository_url":"https://api.github.com/repos/square/okhttp","labels_url":"https://api.github.com/repos/square/okhttp/issues/2526/labels{/name}","comments_url":"https://api.github.com/repos/square/okhttp/issues/2526/comments","events_url":"https://api.github.com/repos/square/okhttp/issues/2526/events","html_url":"https://github.com/square/okhttp/issues/2526","id":151830352,"number":2526,"title":"Getting a crash with Facebook sdk 4.5.0","user":{"login":"olx-gaurav-mishra","id":13196986,"avatar_url":"https://avatars.githubusercontent.com/u/13196986?v=3","gravatar_id":"","url":"https://api.github.com/users/olx-gaurav-mishra","html_url":"https://github.com/olx-gaurav-mishra","followers_url":"https://api.github.com/users/olx-gaurav-mishra/followers","following_url":"https://api.github.com/users/olx-gaurav-mishra/following{/other_user}","gists_url":"https://api.github.com/users/olx-gaurav-mishra/gists{/gist_id}","starred_url":"https://api.github.com/users/olx-gaurav-mishra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olx-gaurav-mishra/subscriptions","organizations_url":"https://api.github.com/users/olx-gaurav-mishra/orgs","repos_url":"https://api.github.com/users/olx-gaurav-mishra/repos","events_url":"https://api.github.com/users/olx-gaurav-mishra/events{/privacy}","received_events_url":"https://api.github.com/users/olx-gaurav-mishra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-04-29T09:48:44Z","updated_at":"2016-09-30T18:04:18Z","closed_at":"2016-04-29T11:19:45Z","body":"Not sure about reproduction steps as haven't been able to reproduce. Below are crashlytics log\r\n\r\nFatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0\r\n       at com.android.okhttp.internal.Util.rjil_playstore_download_case(Util.java:309)\r\n       at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:31)\r\n       at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)\r\n       at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)\r\n       at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:310)\r\n       at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:249)\r\n       at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:397)\r\n       at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:347)\r\n       at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:515)\r\n       at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)\r\n       at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)\r\n       at com.facebook.GraphResponse.fromHttpConnection(GraphResponse.java:253)\r\n       at com.facebook.GraphRequest.executeConnectionAndWait(GraphRequest.java:1251)\r\n       at com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1153)\r\n       at com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1120)\r\n       at com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1104)\r\n       at com.facebook.GraphRequest.executeAndWait(GraphRequest.java:1079)\r\n       at com.facebook.GraphRequest.executeAndWait(GraphRequest.java:973)\r\n       at com.facebook.internal.Utility.getAppSettingsQueryResponse(Utility.java:871)\r\n       at com.facebook.internal.Utility.access$000(Utility.java:75)\r\n       at com.facebook.internal.Utility$1.run(Utility.java:780)\r\n       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n       at java.lang.Thread.run(Thread.java:818)"},"comment":{"url":"https://api.github.com/repos/square/okhttp/issues/comments/250812228","html_url":"https://github.com/square/okhttp/issues/2526#issuecomment-250812228","issue_url":"https://api.github.com/repos/square/okhttp/issues/2526","id":250812228,"user":{"login":"15characterlimi","id":2462356,"avatar_url":"https://avatars.githubusercontent.com/u/2462356?v=3","gravatar_id":"","url":"https://api.github.com/users/15characterlimi","html_url":"https://github.com/15characterlimi","followers_url":"https://api.github.com/users/15characterlimi/followers","following_url":"https://api.github.com/users/15characterlimi/following{/other_user}","gists_url":"https://api.github.com/users/15characterlimi/gists{/gist_id}","starred_url":"https://api.github.com/users/15characterlimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/15characterlimi/subscriptions","organizations_url":"https://api.github.com/users/15characterlimi/orgs","repos_url":"https://api.github.com/users/15characterlimi/repos","events_url":"https://api.github.com/users/15characterlimi/events{/privacy}","received_events_url":"https://api.github.com/users/15characterlimi/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T18:04:18Z","updated_at":"2016-09-30T18:04:18Z","body":"@swankjesse thanks for the heads up. As you say, someone has clearly messed with HostResolver. This is the first time I've heard of this; this class name hasn't existed after Android Lollipop so old devices are probably stuck with this bug, but I've flagged this through appropriate channels.\r\n\r\n@ankur-j9 I suspect that the 3% attributed to other manufacturers are simply misattributed. Note that the crash you're seeing appears specific to (this manufacturer's version of) Android, not to the Facebook SDK."}}
{"actor":{"display_login":"15characterlimi"}}