Not able to join zoom meeting from two different Activity

Description
I have initialized the zoom SDK in the first activity fragment.
it works perfectly fine there when I join a meeting from there.

But I have another activity where I want the Same functionality.
But it’s crashing the App after joining the meeting immediately.

Here is the Error get in the log

JNI DETECTED ERROR IN APPLICATION: JNI CallBooleanMethodV called with pending exception kotlin.KotlinNullPointerException: (Throwable with no stack trace) in call to CallBooleanMethodV from void com.zipow.cmmlib.CmmTimer.callNativeTimerProc(long, com.zipow.cmmlib.CmmTimer)

Hi @niranjan, thanks for the post.

Sorry to hear you’re running into this crash. Could you provide some code snippets showing where you’re encountering this issue? Also the full crash log would be helpful in determining the cause of this as well.

Thanks!

This causes when I initialize the SDK in two places in the same App.
And trying to join from there.

If I join first and then try to join from the second place it works fine.

But when I Go to the first activity initialized SDK.
Then without joining from there I go to another activity and joined then its Got the above-mentioned crash.

Please help with this

Screenshot 2020-10-08 at 12.13.19 PM

this the code snippet for joining the zoom meeting.
this code working with first Activity but the same code gives me crash as I follow the same Above mentioned steps