qiscus / qiscus-sdk-android

Qiscus provide everything you need to power up your app with chats. And it's now made simple.
https://www.qiscus.com
Apache License 2.0
201 stars 84 forks source link

NullPointerException at QiscusSyncJobService.java:143 #96

Closed quyvv closed 3 years ago

quyvv commented 3 years ago

I meet this issue for a long time, even after upgrade to the latest qiscusCore version 1.3.30 qiscus crash crash info I've looked at the SDK source code and saw this line got crashed: private void stopSync() { if (timer != null) { timer.cancel(); timer.purge(); timer = null; } } The stopSync only got called in log out and onDestroy service. In fact, this release note should fix that issue https://github.com/qiscus/qiscus-sdk-android/releases/tag/1.3.20 but I'm using 1.3.30 and it still occurred.

adicatur commented 3 years ago

Hi @quyvv, thanks for this,

We will look into it, and let you know the update

Regards

quyvv01581 commented 3 years ago

any update about this issue @adicatur @ariefnurputranto @huseinmuhdhor ?

ariefnurputranto commented 3 years ago

@quyvv01581 , you can use this version sir. https://github.com/qiscus/qiscus-sdk-android/releases/tag/1.3.31

quyvv01581 commented 3 years ago

Thanks, @ariefnurputranto, I will try to test on this version and paste the result here later on