LP-Messaging / Android-Messaging-SDK

LivePerson Android Messaging SDK
https://www.liveperson.com
28 stars 24 forks source link

NullPointerException - mConnectionController #133

Closed ercanpinar closed 1 year ago

ercanpinar commented 1 year ago

We have been receiving the below crash. it seems mConnectionController is null. I have compared ConversationFragment (v5.6.0) - ConversationFragment(v5.13.0) it seems no change related to crash here. We are thinking to update the library might solve the issue. Any idea on the issue? I have checked the release notes from v5.6.0 to v5.13.0 but nothing mentioned about the my crash.

Caused by java.lang.NullPointerException: Attempt to read from field 'com.liveperson.messaging.controller.ConnectionsController **com.liveperson.messaging.Messaging.mConnectionController**' on a null object reference in method 'void com.liveperson.infra.messaging_ui.fragment.ConversationFragment.refreshLoadingViewOption()'

Version: 5.6.0

Our app is targeting Android 33

lptle commented 1 year ago

@ercanpinar It has been fixed on v5.14.0. You can update to that version or better to the latest version of SDK.