We are working on App with zoom video calling using ZoomVideoSDK
Version implementation ‘us.zoom.videosdk:ZoomVideoSDK:1.8.2’
What is happening is if we kill the application while having the video call or
we use our PIP feature while video call and close the app using swipe and clear the PIP window then application is crashing and in crashlytics we are getting
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String us.zoom.internal.user.CmmUser.getScreenName()’ on a null object reference
at us.zoom.sdk.e$a.a(ZoomVideoSDKImpl.java:31)
at us.zoom.sdk.e$a.onChatNewMessageNotify(ZoomVideoSDKImpl.java:2)
at us.zoom.internal.RTCConferenceEventUI.onChatNewMessageNotifyImpl(RTCConferenceEventUI.java:7)
at us.zoom.internal.RTCConferenceEventUI.onChatNewMessageNotify(RTCConferenceEventUI.java:1)
at us.zoom.internal.SDKEngine.heartBeatImpl(SDKEngine.java)
at us.zoom.internal.SDKEngine.heartBeat(SDKEngine.java:1)
at us.zoom.internal.SDKApplication$4.run(SDKApplication.java:8)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
because of this error our application is crashing.
how can I detect which part in my code this crash is happening or how to resolve this