zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
9 stars 11 forks source link

App crash leading from java.lang.NullPointerException (com.zoho.livechat.android.ui.activities.SalesIQBaseActivity.onPause) #54

Closed Ramanpreet6262 closed 1 year ago

Ramanpreet6262 commented 1 year ago

Hi team, We got these stack traces on firebase crashlytics

Screenshot 2022-10-20 at 10 40 31 AM Screenshot 2022-10-20 at 10 40 38 AM

And stack trace for the same issue from play store console.

Exception java.lang.RuntimeException: at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4808) at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4759) at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4707) at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2104) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:236) at android.app.ActivityThread.main (ActivityThread.java:7861) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:600) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967) Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Handler com.zoho.livechat.android.operation.SalesIQApplicationManager.getHandler()' on a null object reference at com.zoho.livechat.android.ui.activities.SalesIQBaseActivity.onPause (SalesIQBaseActivity.java:90) at com.zoho.livechat.android.ui.activities.SalesIQActivity.onPause (SalesIQActivity.java:316) at android.app.Activity.performPause (Activity.java:8310) at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1511) at android.app.ActivityThread.performPauseActivityIfNeeded _(ActivityThread.java:4798)

bhahirathan-mb-11956 commented 1 year ago

Hi @Ramanpreet6262 ,

Thank you for writing to us. The reported crash has been fixed. Please update the SDK to version 4.2.13 and check. If the issue persists, please let us know.

Regards, Bhahirathan M

Ramanpreet6262 commented 1 year ago

Hi @DavidBhahirathan, Thanks for the update. Will do and keep you updated.

Ramanpreet6262 commented 1 year ago

@DavidBhahirathan, Can you please share release notes for v4.2.13 as wanted to know about the changelog for this release?

Ramanpreet6262 commented 1 year ago

@DavidBhahirathan Any update here?

Ramanpreet6262 commented 1 year ago

@DavidBhahirathan Any update here?

bhahirathan-mb-11956 commented 1 year ago

Hi @Ramanpreet6262 ,

Sorry for the inconvenience. We have updated the release notes, this is a minor release and we're working on a major release in that version we will fix all other issues which you have reported. It will be live shortly.

Regards, Bhahirathan M

Ramanpreet6262 commented 1 year ago

Cool thanks @DavidBhahirathan We will update the SDK version with major release in one go only.

Ramanpreet6262 commented 1 year ago

@DavidBhahirathan Any update on when the major release will be live? Today, we are facing this crash many times. So wanted to take a call whether to wait for major release or not basis the timeline.

bhahirathan-mb-11956 commented 1 year ago

Hi @Ramanpreet6262 ,

The above crash has been fixed in version 5.0.0.

Regards, Bhahirathan M, Zoho SalesIQ.