Zoom Android Meeting SDK(5.11.1.6928) crashed

When a user reopens the app after joining a call and minimising it, we are getting a crash from the SDK.

Android Meeting SDK version : Zoom Meeting SDK(5.11.1.6928)

Steps to reproduce:

  1. Open the app
  2. Join a call
  3. Minimise the application using the phone’s home button.
  4. Open the app

Smartphone

  • Device: Samsung Galaxy 6+
  • OS: Android 10

StackTrace:
2022-07-27 18:59:15.886 28171-28171/me.entri.entrime E/AndroidRuntime: FATAL EXCEPTION: main
Process: me.entri.entrime, PID: 28171
java.lang.RuntimeException: Unable to create service com.zipow.videobox.share.ScreenShareServiceForSDK: java.lang.NullPointerException: Attempt to invoke interface method ‘int android.content.SharedPreferences.getInt(java.lang.String, int)’ on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4293)
at android.app.ActivityThread.access$1500(ActivityThread.java:270)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)
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 us.zoom.libtools.storage.PreferenceUtil.readIntValue(PreferenceUtil.java:2)
at us.zoom.sdk.SDKNotificationMgr.showConfNotificationForSDK(SDKNotificationMgr.java:6)
at com.zipow.videobox.share.ScreenShareServiceForSDK.onCreate(ScreenShareServiceForSDK.java:7)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4281)
at android.app.ActivityThread.access$1500(ActivityThread.java:270)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7948)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

Hi @abey ,

Below is a specific method to capture the logs in details, could you share those logs here?

Meanwhile, could you share what’s the version of SDK you were previously upgrading from?

Hi @chunsiong.zoom ,

The link you shared is for Video SDK we are using Meeting SDK. In meeting SDK those params are not available.
Currently we are using Meeting SDK Version v5.11.3.7251

Hi Abey,

My bad, here’s the equivalent on Meeting SDK

ZoomSDK sdk = ZoomSDK.getInstance();
sdk.initialize(context, APP_KEY, APP_SECRET, (ZoomSDKInitializeListener)this, (enableLog)true);

Refer to the link below of the specifics

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