Process: com.example.okhttpcrash, PID: 14702
    kotlin.KotlinNullPointerException
        at okio.OutputStreamSink.write(Okio.kt:23)
        at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:8)
        at okio.RealBufferedSink.flush(RealBufferedSink.kt:4)
        at okhttp3.internal.http2.Http2Writer.rstStream(Http2Writer.kt:28)
        at okhttp3.internal.http2.Http2Connection$writeSynResetLater$$inlined$execute$1.okhttp3.internal.http2.Http2Connection.writeSynReset$okhttp(TaskQueue.kt:2)
                                                                                        runOnce
        at okhttp3.internal.concurrent.TaskRunner.runTask(TaskRunner.kt:21)
                                                  access$runTask
        at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:13)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)

---------------------------------------------------------------------------------------------

2020-01-09 15:18:51.596 15904-15904/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.okhttpcrash, PID: 15904
    kotlin.KotlinNullPointerException
        at okio.Buffer.getByte(Buffer.kt:7)
        at okio.internal.BufferKt.readUtf8Line(Buffer.kt:1)
        at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:9)
        at okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.kt:1)
        at okhttp3.internal.http1.Http1ExchangeCodec.readHeaders(Http1ExchangeCodec.kt:9)
        at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:63)
        at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.kt:213)
                                                      connectTunnel
        at okhttp3.internal.connection.ExchangeFinder.okhttp3.internal.connection.RealConnection.connect(ExchangeFinder.kt:173)
                                                      findConnection
        at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:1)
        at okhttp3.internal.connection.ConnectInterceptor.okhttp3.internal.connection.ExchangeFinder.find(ConnectInterceptor.kt:15)
                                                          okhttp3.internal.connection.Transmitter.newExchange$okhttp
                                                          intercept
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:13)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:27)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:13)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:22)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:13)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:36)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:13)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:22)
        at com.example.okhttpcrash.MainActivity$makeRequest$2.okhttp3.RealCall.execute(MainActivity.kt:34)
                                                              invokeSuspend
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:2)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:15)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:43)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:15)
                                                                   runWorker
                                                                   run

---------------------------------------------------------------------------------------------

2020-01-09 15:22:37.000 16648-16921/? E/AndroidRuntime: FATAL EXCEPTION: OkHttp http2.akamai.com
    Process: com.example.okhttpcrash, PID: 16648
    java.lang.ArrayIndexOutOfBoundsException: length=8192; index=8195
        at okio.Buffer.writeByte(Buffer.kt:3)
        at okio.RealBufferedSink.writeByte(RealBufferedSink.kt:3)
        at okhttp3.internal.Util.and(Util.kt:31)
                                 parseHexDigit
                                 writeMedium
        at okhttp3.internal.http2.Http2Writer.frameHeader(Http2Writer.kt:70)
        at okhttp3.internal.http2.Http2Writer.goAway(Http2Writer.kt:48)
        at okhttp3.internal.http2.Http2Connection.shutdown(Http2Connection.kt:31)
        at okhttp3.internal.http2.Http2Connection.close$okhttp(Http2Connection.kt:37)
        at okhttp3.internal.http2.Http2Connection$ReaderRunnable.run(Http2Connection.kt:6)
        at java.lang.Thread.run(Thread.java:764)
		
---------------------------------------------------------------------------------------------

2020-01-09 15:23:47.762 16999-17111/? E/AndroidRuntime: FATAL EXCEPTION: OkHttp http2.akamai.com
    Process: com.example.okhttpcrash, PID: 16999
    kotlin.KotlinNullPointerException
        at okio.Segment.push(Segment.kt:12)
        at okio.Buffer.writableSegment$okio(Buffer.kt:213)
        at okio.Buffer.writeByte(Buffer.kt:2)
        at okio.RealBufferedSink.writeByte(RealBufferedSink.kt:3)
        at okhttp3.internal.Util.and(Util.kt:31)
                                 parseHexDigit
                                 writeMedium
        at okhttp3.internal.http2.Http2Writer.frameHeader(Http2Writer.kt:70)
        at okhttp3.internal.http2.Http2Writer.rstStream(Http2Writer.kt:24)
        at okhttp3.internal.http2.Http2Stream.okhttp3.internal.http2.Http2Connection.writeSynReset$okhttp(Http2Stream.kt:3)
                                              close
        at okhttp3.internal.http2.Http2Connection.close$okhttp(Http2Connection.kt:46)
        at okhttp3.internal.http2.Http2Connection$ReaderRunnable.run(Http2Connection.kt:6)
        at java.lang.Thread.run(Thread.java:764
		
---------------------------------------------------------------------------------------------

2020-01-09 15:59:13.335 18019-18123/? E/AndroidRuntime: FATAL EXCEPTION: OkHttp TaskRunner
    Process: com.example.okhttpcrash, PID: 18019
    kotlin.KotlinNullPointerException
        at okio.OutputStreamSink.write(Okio.kt:23)
        at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:8)
        at okio.RealBufferedSink.flush(RealBufferedSink.kt:4)
        at okhttp3.internal.http2.Http2Writer.applyAndAckSettings(Http2Writer.kt:18)
        at okhttp3.internal.http2.Http2Connection$ReaderRunnable$settings$$inlined$execute$1.okhttp3.internal.http2.Http2Connection$ReaderRunnable.applyAndAckSettings(TaskQueue.kt:37)
                                                                                             runOnce
        at okhttp3.internal.concurrent.TaskRunner.runTask(TaskRunner.kt:21)
                                                  access$runTask
        at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:13)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)