Random exception thrown by app

Description
Ive implemented zoom sdk into my android application but the app randomly starts throwing a NullPointerException and after sometime magically returns to normal. I cannot pinpoint where or why this exception arises. Perhaps you guys can help me:

2021-04-19 01:05:18.621 14686-14686/? E/ashbacksliveap: Unknown bits set in runtime_flags: 0x8000
2021-04-19 01:05:27.070 14686-14686/com.example.flashbacksliveapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.flashbacksliveapp, PID: 14686
java.lang.NullPointerException: Attempt to invoke interface method ‘int us.zoom.sdk.MeetingService.joinMeetingWithParams(android.content.Context, us.zoom.sdk.JoinMeetingParams, us.zoom.sdk.JoinMeetingOptions)’ on a null object reference
at com.example.flashbacksliveapp.MainActivity.joinMeeting(MainActivity.java:343)
at com.example.flashbacksliveapp.MainActivity.access$600(MainActivity.java:39)
at com.example.flashbacksliveapp.MainActivity$5.onDataChange(MainActivity.java:359)
at com.google.firebase.database.core.ValueEventRegistration.fireEvent(ValueEventRegistration.java:75)
at com.google.firebase.database.core.view.DataEvent.fire(DataEvent.java:63)
at com.google.firebase.database.core.view.EventRaiser$1.run(EventRaiser.java:55)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

Which Android Client SDK version?
5.5.1.1317 (latest)

Smartphone

  • Samsung Galaxy s7 (android 9)

Hi @abduljav123 Please check whether you call joinMeetingWithParams method after initialization, you can receive ZoomSDKInitializeListener.onZoomSDKInitializeResult callback when initialization successfully