Getting NullPointerException crash in firebase using zoom v5.10.6

Description
We recently updated our zoom meeting SDK version to 5.10.6 and a lot of people are facing null pointer exception crashes

Which Android Meeting SDK version?
v5.10.6

To Reproduce(If applicable)
Can’t reproduce it so far but have seen video of zoom SDK crashing, retrying to initialise while showing “connecting” toast

Crash Report

Caused by java.lang.NullPointerException: Attempt to invoke interface method 'int android.content.SharedPreferences.getInt(java.lang.String, int)' on a null object reference
       at com.zipow.videobox.util.PreferenceUtil.readIntValue(PreferenceUtil.java:2)
       at us.zoom.sdk.SDKNotificationMgr.showConfNotificationForSDK(SDKNotificationMgr.java:6)
       at com.zipow.videobox.share.ScreenShareServiceForSDK.onCreate(ScreenShareServiceForSDK.java:2)
       at android.app.ActivityThread.handleCreateService(ActivityThread.java:4267)
       at android.app.ActivityThread.access$200(ActivityThread.java:242)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2083)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:7830)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040)

Smartphones in which this crash is prominent:

  • Device: [OPPO, Samsung, Vivo]
  • OS: [Android - 13,12]
    Nearly all types of smartphones and OS versions are impacted

Additional context
We can’t upgrade SDK to 5.11 or later versions as that requires gradle upgradations which in turn requires extensive testing. This is causing alot of issues and would request someone to look into this at priority.

Hi @hardeepsinghsaggu ,

After upgrading to a specific version, do copy the gradle dependencies over to your project as well.

Thanks for the response @chunsiong.zoom . I don’t think dependencies would be causing issues here since it happens intermittently and not reproduced in a lot of cases.

I see the change log for v5.11.3 and it says some NullPointerException was fixed.

Can this be related to the above raised issue here?

Thanks!

seems 5.11.3 address the specific error which you are encountering.
Could you try to do a branch of your project, and upgrade to 5.11.3 or higher for Zoom Meeting SDK?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.