java.lang.IllegalArgumentException: byteCount < 0: -1512

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.IllegalArgumentException: byteCount < 0: -1512
at com.android.okio.RealBufferedSource.read(RealBufferedSource.java:44)
at com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:442)
at com.android.okhttp.internal.Util.skipAll(Util.java:227)
at com.android.okhttp.internal.http.HttpConnection.discard(HttpConnection.java:212)
at com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.close(HttpConnection.java:464)
at com.android.okhttp.internal.Util.closeQuietly(Util.java:97)
at com.android.okhttp.internal.http.HttpEngine.close(HttpEngine.java:439)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.disconnect(HttpURLConnectionImpl.java:113)
at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.disconnect(DelegatingHttpsURLConnection.java:93)
at com.facebook.ads.internal.e.b.h.b(Unknown Source)
at com.facebook.ads.internal.e.b.k.h(Unknown Source)

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.