amplitude / Amplitude-Android

Native Android SDK for Amplitude
MIT License
164 stars 90 forks source link

NullPointerException occurred randomly. #380

Closed visla-yewang closed 1 year ago

visla-yewang commented 1 year ago

Expected Behavior

No Exception should happen.

Current Behavior

Exception java.lang.NullPointerException: at w2.a$d.r (Amplitude.kt:4) at sf.a.h (ContinuationImpl.kt:4) at ig.z0.run (DispatchedTask.kt:22) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637) at java.lang.Thread.run (Thread.java:1012)

Possible Solution

N/A

Steps to Reproduce

  1. No Step, monitor on play store console, and several user meet the issue.

Environment

yuhao900914 commented 1 year ago

Hi @visla-yewang, Thanks for choosing Amplitude. Are you using the maintenance Android SDK or the latest Android SDK?

Please feel free to reopen this issue if it's needed.