Skip to content

IllegalArgumentException in Buffer.write #5880

@CanYumusak

Description

@CanYumusak

Currently we are getting occasional crashes from our crash-report that look like the following:

okio.Buffer.write
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter byteString

okio.Buffer.write | Buffer.java, line 2
-- | --
2 | okhttp3.Cache$Entry.readCertificateList | Cache.java, line 668
3 | okhttp3.Cache$Entry.<init> | Cache.java, line 581
4 | okhttp3.Cache.get | Cache.java, line 208
5 | okhttp3.Cache$1.get | Cache.java, line 145
6 | okhttp3.internal.cache.CacheInterceptor.intercept | CacheInterceptor.java, line 55
7 | okhttp3.internal.http.RealInterceptorChain.proceed | RealInterceptorChain.java, line 142
8 | okhttp3.internal.http.RealInterceptorChain.proceed | RealInterceptorChain.java, line 117
9 | okhttp3.internal.http.BridgeInterceptor.intercept | BridgeInterceptor.java, line 93
10 | okhttp3.internal.http.RealInterceptorChain.proceed | RealInterceptorChain.java, line 142
11 | okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept | RetryAndFollowUpInterceptor.java, line 88
12 | okhttp3.internal.http.RealInterceptorChain.proceed | RealInterceptorChain.java, line 142
13 | okhttp3.internal.http.RealInterceptorChain.proceed | RealInterceptorChain.java, line 117
14 | okhttp3.RealCall.getResponseWithInterceptorChain | RealCall.java, line 221
15 | okhttp3.RealCall$AsyncCall.execute | RealCall.java, line 172
16 | okhttp3.internal.NamedRunnable.run | NamedRunnable.java, line 32
17 | java.util.concurrent.ThreadPoolExecutor.runWorker | ThreadPoolExecutor.java, line 1162

How can we address this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoMore information needed from reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions