java.lang.ArrayIndexOutOfBoundsException: src.length=2048 srcPos=2048 dst.length=2048 dstPos=0 length=2048

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

Solutions on the web

via Stack Overflow by Herzen
, 1 year ago
src.length=2048 srcPos=2048 dst.length=2048 dstPos=0 length=2048
via Stack Overflow by simonws
, 1 year ago
src.length=2048 srcPos=1440 dst.length=2048 dstPos=0 length=1440
via GitHub by Ooorange
, 1 year ago
src.length=2048 srcPos=2560 dst.length=2048 dstPos=0 length=512
via GitHub by fuatcoskun
, 2 years ago
src.length=8 srcPos=0 dst.length=14 dstPos=0 length=9
via GitHub by softlion
, 9 months ago
src.length=8192 srcPos=0 dst.length=65536 dstPos=65784 length=-248
via GitHub by fuatcoskun
, 2 years ago
src.length=8 srcPos=0 dst.length=14 dstPos=0 length=9
java.lang.ArrayIndexOutOfBoundsException: src.length=2048 srcPos=2048 dst.length=2048 dstPos=0 length=2048
at java.lang.System.arraycopy(System.java:252)
at com.android.okio.Segment.split(Segment.java:98)
at com.android.okio.OkBuffer.write(OkBuffer.java:590)
at com.android.okio.OkBuffer.read(OkBuffer.java:621)
at com.android.okio.RealBufferedSource.read(RealBufferedSource.java:53)
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.MyApplication.Extern.Utils.Interrupt.InterruptibleHttpInputStream.read(InterruptibleHttpInputStream.java:154)

Users with the same issue

Once, 3 days ago
Once, 4 weeks ago
5 times, 3 months ago
3 times, 3 months ago
Once, 5 months ago

Write tip

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