Crash on Video Call start

Hey Video call was working perfectly on my redmi 6A device whole time, but suddenly it started crashing as soon as I accept or other person accept the video call.
It’s jjust not able to load the video chat screen,

logs:
Process: app.chathunt, PID: 12710
java.lang.NoSuchMethodError: No static method delimiterOffset(Ljava/lang/String;IILjava/lang/String;)I in class Lokhttp3/internal/Util; or its super classes (declaration of ‘okhttp3.internal.Util’ appears in /data/app/app.chathunt-3NC5HOl0xfANRiIXXoHdcQ==/base.apk!classes4.dex)
at okhttp3.JavaNetCookieJar.decodeHeaderAsJavaNetCookies(JavaNetCookieJar.java:91)
at okhttp3.JavaNetCookieJar.loadForRequest(JavaNetCookieJar.java:74)
at com.facebook.react.modules.network.ReactCookieJarContainer.loadForRequest(ReactCookieJarContainer.java:43)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:75)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
at okhttp3.RealCall$AsyncCall.run(RealCall.kt:136)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
2020-04-24 16:29:11.755 ? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-04-24 16:29:11.755 ? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2020-04-24 16:29:39.113 ? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-04-24 16:29:39.113 ? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2020-04-24 16:29:42.799 ? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-04-24 16:29:42.799 ? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2020-04-24 16:30:50.665 ? E/ActivityThread: Failed to find provider info for com.qti.smq.qualcommFeedback.provider
2020-04-24 16:30:51.029 ? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2020-04-24 16:30:51.029 ? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2020-04-24 16:30:52.676 ? E/UserRestrictionsUtils: Unknown restriction: app.chathunt
2020-04-24 16:30:57.751 ? E/ActivityThread: Failed to find provider info for com.facebook.appmanager.nekodirect
2020-04-24 16:39:21.654 ? E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
Process: com.chathunt.video.livechat, PID: 15044
java.lang.NoSuchMethodError: No static method delimiterOffset(Ljava/lang/String;IILjava/lang/String;)I in class Lokhttp3/internal/Util; or its super classes (declaration of ‘okhttp3.internal.Util’ appears in /data/app/com.chathunt.video.livechat-yROXkDl2qMc4Yxk4qK0Fww==/base.apk!classes4.dex)
at okhttp3.JavaNetCookieJar.decodeHeaderAsJavaNetCookies(JavaNetCookieJar.java:91)
at okhttp3.JavaNetCookieJar.loadForRequest(JavaNetCookieJar.java:74)
at com.facebook.react.modules.network.ReactCookieJarContainer.loadForRequest(ReactCookieJarContainer.java:43)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:75)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
at okhttp3.RealCall$AsyncCall.run(RealCall.kt:136)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
2020-04-24 16:39:24.919 ? E/ActivityManager: applyOptionsLocked: Unknown animationType=0
2020-04-24 16:39:25.564 ? E/ActivityThread: Failed to find provider info for com.qti.smq.qualcommFeedback.provider
2020-04-24 16:39:25.744 ? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x414 in tid 16164 (results), pid 16124 (main)
2020-04-24 16:48:16.617 ? E/ActivityManager: Failure starting process com.chathunt.video.livechat
java.lang.SecurityException: Package com.chathunt.video.livechat is currently frozen!
at com.android.server.pm.PackageManagerService.checkPackageStartable(PackageManagerService.java:4045)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:4004)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:3962)
at com.android.server.am.ActivityManagerService.startProcessLocked(ActivityManagerService.java:3834)
at com.android.server.am.ActivityStackSupervisor.startSpecificActivityLocked(ActivityStackSupervisor.java:1648)
at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:2842)
at com.android.server.am.ActivityStack.resumeTopActivityUncheckedLocked(ActivityStack.java:2334)
at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:2207)
at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:2165)
at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:5558)
at com.android.server.am.ActivityManagerService.removeProcessLocked(ActivityManagerService.java:7140)
at com.android.server.am.ActivityManagerService.killPackageProcessesLocked(ActivityManagerService.java:6783)
at com.android.server.am.ActivityManagerService.forceStopPackageLocked(ActivityManagerService.java:6915)
at com.android.server.am.ActivityManagerService$MainHandler.handleMessage(ActivityManagerService.java:2148)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.os.HandlerThread.run(HandlerThread.java:65)
at com.android.server.ServiceThread.run(ServiceThread.java:46)
2020-04-24 16:48:59.241 ? E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
Process: com.chathunt.video.livechat, PID: 17537
java.lang.NoSuchMethodError: No static method delimiterOffset(Ljava/lang/String;IILjava/lang/String;)I in class Lokhttp3/internal/Util; or its super classes (declaration of ‘okhttp3.internal.Util’ appears in /data/app/com.chathunt.video.livechat-BIlr_FPNlsE0MEU-SrZ9MQ==/base.apk!classes4.dex)
at okhttp3.JavaNetCookieJar.decodeHeaderAsJavaNetCookies(JavaNetCookieJar.java:91)
at okhttp3.JavaNetCookieJar.loadForRequest(JavaNetCookieJar.java:74)
at com.facebook.react.modules.network.ReactCookieJarContainer.loadForRequest(ReactCookieJarContainer.java:43)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:75)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
at okhttp3.RealCall$AsyncCall.run(RealCall.kt:136)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

I tried gradle plugin 3.5.2, 3.4.2, 3.5.3
Tried updating okhttp versions
using 2.0.4-beta1verion of library

We want to go live asap. Please help

Hello @DevAshutosh
Can you please share the gradle files with us so that we can have a look and try to replicate this at our end

Thanks

This link contains all the gradle files used in the app

Hello @DevAshutosh,
We have released a new version of the CometChat Android SDK (version 2.1.0) which has a completely new Calling module in place. Please upgrade to the latest and provide us with your feedback. Incase, you still encounter any problems, please do get in touch with us over the chat available on CometChat Dashboard.
Thanks

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.