0

On some devices, we get a NullPointer exception when loading the app from install.

The workaround is for the user to clear the app cache to make the app work. However, this is not possible for end-users.

Errors

java.lang.NullPointerException: Attempt to invoke interface method ‘java.lang.String android.content.SharedPreferences.getString(java.lang.String, java.lang.String)’ on a null object reference at com.zipow.videobox.util.PreferenceUtil.readStringValue(PreferenceUtil.java:5) at org.webrtc.voiceengine.VoiceEngineCompat.selectAudioDeviceAPIType(VoiceEngineCompat.java:1) at org.webrtc.voiceengine.VoiceEngineCompat.isBluetoothScoCupported(VoiceEngineCompat.java:33) at us.zoom.internal.SDKApplication.onSDKCreated(SDKApplication.java:50) at us.zoom.internal.SDKApplication.initializeForSDK(SDKApplication.java:8) at us.zoom.sdk.d.initialize(ZoomVideoSDKImpl.java:18) at com.reactnativezoom.videosdk.RNZoomVideoSdkModule$1.run(RNZoomVideoSdkModule.java:120) at android.os.Handler.handleCallback(Handler.java:914)

Smartphone:

Device: Android OS: Android 10 QKQ1.190825.002

Tried to catch the error and: a. programmatically clear any cache in the context b. set delay and try to re-initialize the sdk

Error still persists.

0 Answers0