App crashing for internet disconnection

We are using UI kit ,

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean com.cometchat.pro.core.Settings.isDenyFallbackToPolling()’ on a null object reference
at com.cometchat.pro.core.ConnectionController$1.onDisconnectionTimeReached(ConnectionController.java:4)
at com.cometchat.pro.core.DisconnectionTimerTask.run(DisconnectionTimerTask.java:2)
at java.util.TimerThread.mainLoop(Timer.java:562)
at java.util.TimerThread.run(Timer.java:512)

Hello @happybitclass,

We are unable to reproduce these crashes at our end. Can you please provide us steps to reproduce the crash so that we can try it on our end and debug it?

Warm Regards,

CometChat Pro
Mayur Bhandari

is it necessary to upgrade UI kit also along with chat sdk? we have upgraded to 2.3.1. @mayur.bhandari

Hello @happybitclass,

Can you please let us know how many instances of the crash are you getting?

Warm Regards,

CometChat Pro
Mayur Bhandari

it’s 350+ every day.

This is for last seven days

Hi @happybitclass

We have reached out to you by email.
We will be happy to discuss this further and we can continue our conversation there.

Regards,
Aishwarya