Crash on audio and video call - Crash logs

Audio call crash log:

STACK_TRACE=java.lang.NullPointerException: Attempt to invoke virtual method ‘android.content.res.AssetManager android.content.Context.getAssets()’ on a null object reference
at com.advengers.mabo.Cometchat.Utils.FontUtils.initFonts(FontUtils.java:28)
at com.advengers.mabo.Cometchat.Utils.FontUtils.(FontUtils.java:22)
at com.advengers.mabo.Cometchat.Adapter.RecentsListAdapter.(RecentsListAdapter.java:58)
at com.advengers.mabo.Cometchat.Fragments.RecentsFragment.setRecentAdapter(RecentsFragment.java:147)
at com.advengers.mabo.Cometchat.Presenters.RecentsListPresenter$1.onSuccess(RecentsListPresenter.java:37)
at com.advengers.mabo.Cometchat.Presenters.RecentsListPresenter$1.onSuccess(RecentsListPresenter.java:32)
at com.cometchat.pro.core.ConversationsRequest$3$2.run(ConversationsRequest.java:103)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

Video call crash log:
STACK_TRACE=java.lang.NoSuchMethodError: No static method createEgl14([I)Lorg/webrtc/EglBase14; in class Lorg/webrtc/EglBase; or its super classes (declaration of ‘org.webrtc.EglBase’ appears in /data/app/com.advengers.mabo-1/base.apk:classes4.dex)
at com.oney.WebRTCModule.EglUtils.getRootEglBase(EglUtils.java:35)
at com.oney.WebRTCModule.EglUtils.getRootEglBaseContext(EglUtils.java:62)
at com.oney.WebRTCModule.GetUserMediaImpl.createVideoTrack(GetUserMediaImpl.java:89)
at com.oney.WebRTCModule.GetUserMediaImpl.getUserMedia(GetUserMediaImpl.java:165)
at com.oney.WebRTCModule.WebRTCModule.lambda$getUserMedia$2$WebRTCModule(WebRTCModule.java:485)
at com.oney.WebRTCModule.-$$Lambda$WebRTCModule$C_Gitx4KOYySlWXaI1K4M1yoJoA.run(lambda)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

1 Like

Hello @aupriya
We apologise for the delayed response. We are checking this at our end and we will get back to you regarding this at the earliest.
In the meantime can you please share with me the version of the gradle plugin you are using that is specified in the project level gradle file as
com.android.tools.build:gradle:3.5.2
We are using gradle version 3.5.2 in our app with the SDK and everything with respect to the Audio/Video calls seems to be working as expected. Can you please let us know the above details so that we can investigate better and provide you with a solution at the earliest

Hi Team,
I was using the gradle version 3.5.2 but no luck was getting the same issue.

Once after changed it to 3.4.2 the crash rectified.

1 Like

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