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(
at com.advengers.mabo.Cometchat.Utils.FontUtils.(
at com.advengers.mabo.Cometchat.Adapter.RecentsListAdapter.(
at com.advengers.mabo.Cometchat.Fragments.RecentsFragment.setRecentAdapter(
at com.advengers.mabo.Cometchat.Presenters.RecentsListPresenter$1.onSuccess(
at com.advengers.mabo.Cometchat.Presenters.RecentsListPresenter$1.onSuccess(
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)

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(
at com.oney.WebRTCModule.EglUtils.getRootEglBaseContext(
at com.oney.WebRTCModule.GetUserMediaImpl.createVideoTrack(
at com.oney.WebRTCModule.GetUserMediaImpl.getUserMedia(
at com.oney.WebRTCModule.WebRTCModule.lambda$getUserMedia$2$WebRTCModule(
at com.oney.WebRTCModule.-$$Lambda$WebRTCModule$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

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
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.