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 crashing leading from java.lang.NullPointerException #41

Closed dieptang closed 2 years ago

dieptang commented 2 years ago

Hi again,

We got new issue sometime on Android, here is detail

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{vn.myapp/com.zoho.livechat.android.ui.activities.ChatActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.content.SharedPreferences.getBoolean(java.lang.String, boolean)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3654) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3806) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8167) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

Device Info

Brand:samsung
Model:Galaxy Note9
Orientation: Portrait
RAM free: 2.77 GB
Disk free: 38.35 GB
Operating System
Version:Android 10
Orientation: Portrait
Rooted:No

It will be great if you found something from the log.

Angu-G commented 2 years ago

Hello @dieptang, The error log shared has some missing traces in-between. Can you please share us the complete log to debug the issue? Also we hope you are using our latest version.

bhahirathan-mb-11956 commented 2 years ago

Hi @dieptang,

As there is no recent activity, we're closing this issue from our side. You can reopen again anytime. Meanwhile, please check out our latest version version(v4.2.10).

For further queries, please feel free to write us at [support@zohosalesiq.com]. We will be happy to assist you.

Best regards, Bhahirathan