Getting "java.lang.NullPointerException" while trying to join a meeting in the demo/sample app

Hi Team,

I am trying to run the sample android app from the given link,

I imported the latest commonlib and mobilertc, hence used the jwt token following the guidelines from here:

I am able to run the application, but when I am trying to join the meeting from the application, it is crashing, with following message :

Process: com.example.basicdemoapp, PID: 11103
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.basicdemoapp.MainActivity.joinMeeting(MainActivity.kt:98)
at com.example.basicdemoapp.MainActivity.createJoinMeetingDialog$lambda$8(MainActivity.kt:133)
at com.example.basicdemoapp.MainActivity.$r8$lambda$2n9OoR3CUBIYxBJbYA9dGjQScwM(Unknown Source:0)
at com.example.basicdemoapp.MainActivity$$ExternalSyntheticLambda0.onClick(Unknown Source:2)
at android.os.Handler.dispatchMessage(
at android.os.Looper.loopOnce(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)

please let me know if any thing else is require from my side to further investigate this incident.

Thank You

1 Like

Hi Team, any update on this ?

@prathjain12 please download the latest SDK from
The SDK found on github is below the minimum version, and should not work.