java.lang.NullPointerException

Attempt to read from field 'int com.android.okio.Segment.limit' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web14

Stack trace

  • java.lang.NullPointerException: Attempt to read from field 'int com.android.okio.Segment.limit' on a null object reference at com.android.okio.OkBuffer.write(OkBuffer.java:574) at com.android.okio.OkBuffer.read(OkBuffer.java:610) at com.android.okio.RealBufferedSource.read(RealBufferedSource.java:53) at com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:807) at com.android.okio.RealBufferedSource$1.read(RealBufferedSource.java:168) at java.io.InputStream.read(InputStream.java:162) at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:194) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:153) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:140) at java.io.InputStream.read(InputStream.java:162) at com.vk.sdk.api.httpClient.VKHttpClient$VKHttpResponse.<init>(VKHttpClient.java:364) at com.vk.sdk.api.httpClient.VKHttpClient.execute(VKHttpClient.java:167) at com.vk.sdk.api.httpClient.VKHttpOperation.start(VKHttpOperation.java:77) at com.vk.sdk.api.httpClient.VKHttpClient$2.run(VKHttpClient.java:147) 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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,