PreferenceUtil.java line 2 com.zipow.videobox.util.PreferenceUtil.readBooleanValue

Description
Getting a crashlytics error on Firebase which says
PreferenceUtil.java line 2 com.zipow.videobox.util.PreferenceUtil.readBooleanValue

Which version?
Latest Zoom SDK version v4.6.21666.0429

Smartphone (please complete the following information):

  • Device: Samsung
  • Model: Galaxy A9 (2018)
  • OS: 10

Additional context

Fatal Exception: java.lang.RuntimeException: Unable to stop service com.zipow.videobox.share.ScreenShareServiceForSDK@84f2508: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, int)' on a null object reference
       at android.app.ActivityThread.handleStopService(ActivityThread.java:4377)
       at android.app.ActivityThread.access$1900(ActivityThread.java:269)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2047)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:7860)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

Please look into this.

@carson.zoom Any update on this?

Hi @sa159871,

This issue has been fixed in the latest version https://github.com/zoom/zoom-sdk-android/releases/tag/v5.0.24437.0708, please have a try.

Thanks!