Closed
Description
Hi, I got crash when try to implement Instabug APM (10.6.0).
It happen when I implement this:
apply plugin: 'instabug-apm'
implementation "com.instabug.library:instabug-apm-okhttp-interceptor:10.6.0"
This is from my stack trace:
2021-06-11 17:12:56.030 28713-28989/com.happyfresh.fulfillmentv2.staging E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
Process: com.happyfresh.fulfillmentv2.staging, PID: 28713
java.lang.IllegalStateException: closed
at okio.RealBufferedSource.request(RealBufferedSource.kt:203)
at com.instabug.library.okhttplogger.InstabugOkhttpInterceptor.populateNetworkResponse(InstabugOkhttpInterceptor.java:265)
at com.instabug.library.okhttplogger.InstabugOkhttpInterceptor.intercept(InstabugOkhttpInterceptor.java:97)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.chuckerteam.chucker.api.ChuckerInterceptor.intercept(ChuckerInterceptor.kt:85)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.happyfresh.snowflakes.hoverfly.interceptors.GlobalErrorInterceptor.intercept(GlobalErrorInterceptor.kt:19)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.happyfresh.snowflakes.hoverfly.interceptors.ClientInterceptor.intercept(ClientInterceptor.kt:61)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
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:919)
Thank you.
Steps to Reproduce the Problem
First run my app and it crash
Expected Behavior
No crash occur
Actual Behavior
Crash occur
SDK Version
10.6.0
Android Version
Android 10
Device Model
Poco X3 NFC