Onesignal-android-sdk: strange null pointer exception in 3.14.0 version - maybe a race condition?

Created on 2 Jun 2020  路  5Comments  路  Source: OneSignal/OneSignal-Android-SDK

Stacktrace:

java.lang.NullPointerException: 
  at com.onesignal.OneSignalCacheCleaner$2.run (OneSignalCacheCleaner.java:116)
  at java.lang.Thread.run (Thread.java:818)

Capturar

Low Priority Needs More Information Reproducible

All 5 comments

I have a similar error

on google play console:
screencapture 2020-06-03 at 09 13 10

and maybe more useful on crashlytics:
screencapture 2020-06-03 at 18 22 03

Howdy,
We are aware of this new issue. Thanks for your patience while we resolve it.

In the meantime, can you please provide all the information we request in the issue template?

Cheers

Description:

null pointer exception on 3.14.0 version

Environment:

Galaxy Tab S2; android version 7.0; free RAM memory 782.45 MB; free disk space 8.01 GB
Galaxy S7; android version 8.0.0; free RAM memory 1.84 GB; free disk space 10.08 GB
Galaxy S6 edge; android version 7.0; free RAM memory 1015.19 MB; free disk space 17.84 GB
ONEPLUS A3003: android version 9; free RAM memory 2.55 GB; free disk space 8.85 GB

Steps to Reproduce Issue:
these are errors on production environment, happened to end users, we don't have the steps.
Anything else:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.database.Cursor.isClosed()' on a null object reference
at com.onesignal.OneSignalCacheCleaner$2.run(OneSignalCacheCleaner.java:116)
at java.lang.Thread.run(Thread.java:764)

Fixed by #1047

In which version will be available? Is there some ETA?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mohsinnaqvi110 picture mohsinnaqvi110  路  4Comments

joelfernandes19 picture joelfernandes19  路  6Comments

restart916 picture restart916  路  7Comments

kareemzok picture kareemzok  路  4Comments

sannyo picture sannyo  路  7Comments