Bug #2690
Crash in production in sinch call
Description
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void com.sinch.android.rtc.SinchClient.relayRemotePushNotification(com.sinch.android.rtc.calling.CallNotificationResult)' on a null object reference
at com.general.files.SinchService$SinchServiceInterface.relayRemotePushNotificationPayload(SinchService.java:327)
at com.tukxi.driver.MyFirebaseMessagingService$1.onServiceConnected(MyFirebaseMessagingService.java:106)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1972)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2004)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:268)
at android.app.ActivityThread.main(ActivityThread.java:8004)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
Impact Analysis
Test all scenarios of incoming calls in the Driver app: when the app is in the foreground, background, before starting a trip, after arrival, and after starting a trip.
Analyze the Crashlytics data to confirm that the crash is resolved. Once verified, we can conclude that the issue is resolved and close this crash case.