java.lang.ArrayIndexOutOfBoundsException: length=0; index=0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.android.okhttp.internal.Util.rjil_playstore_download_case(Util.java:309)
at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:31)
at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)
at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:310)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:249)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:397)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:347)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:515)
at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.facebook.GraphResponse.fromHttpConnection(SourceFile:253)
at com.facebook.GraphRequest.executeConnectionAndWait(SourceFile:1266)
at com.facebook.GraphRequest.executeBatchAndWait(SourceFile:1164)
at com.facebook.GraphRequest.executeBatchAndWait(SourceFile:1130)
at com.facebook.GraphRequest.executeBatchAndWait(SourceFile:1114)
at com.facebook.GraphRequest.executeAndWait(SourceFile:1089)
at com.facebook.GraphRequest.executeAndWait(SourceFile:983)
at com.facebook.internal.Utility.getAppSettingsQueryResponse(SourceFile:869)
at com.facebook.internal.Utility.access$100(SourceFile:76)
at com.facebook.internal.Utility$1.run(SourceFile:798)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.