zoho / salesiq-mobilisten-android-sample

Sample App to integrate SalesIQ Android SDK (Mobilisten)
https://mobilisten.io/
15 stars 4 forks source link

NullPointerException in ChatFragment.java line 612 #27

Closed alokvnair closed 3 years ago

alokvnair commented 3 years ago

Zoho SDK - 3.0

ChatFragment.java line 612
com.zoho.livechat.android.ui.fragments.ChatFragment$1.onReceive
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.zoho.livechat.android.models.SalesIQChat.getRchatid()' on a null object reference
       at com.zoho.livechat.android.ui.fragments.ChatFragment$1.onReceive(ChatFragment.java:612)
       at androidx.localbroadcastmanager.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:313)
       at androidx.localbroadcastmanager.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:121)
       at android.os.Handler.dispatchMessage(Handler.java:112)
       at android.os.Looper.loop(Looper.java:216)
       at android.app.ActivityThread.main(ActivityThread.java:7625)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
alokvnair commented 3 years ago

@Angu-G Getting multiple reports for this crash after upgrading to 3.0 SDK version. We have halted the rollout with the upgraded SDK because of this.

Angu-G commented 3 years ago

@alokvnair We have identified the issue and fix is in the testing phase.

Angu-G commented 3 years ago

@alokvnair, Fix has been rolled out in our latest release. implementation 'com.zoho.salesiq:mobilisten:3.1'

alokvnair commented 3 years ago

Thanks @Angu-G Will check this version

Angu-G commented 3 years ago

Hello @alokvnair, We are closing this issue now. You can write us back for further queries.