Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException on TracingErrorsBroadcastReceiver #224

Open
m0skit0 opened this issue Dec 21, 2020 · 0 comments
Open

NullPointerException on TracingErrorsBroadcastReceiver #224

m0skit0 opened this issue Dec 21, 2020 · 0 comments

Comments

@m0skit0
Copy link

m0skit0 commented Dec 21, 2020

Hi, an app developer reported this NPE happening on some devices. It looks like the encrypted preferences could not be created and left as null.

java.lang.RuntimeException: 
  at android.app.LoadedApk$ReceiverDispatcher$Args.run (LoadedApk.java:972)
  at android.os.Handler.handleCallback (Handler.java:743)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:150)
  at android.app.ActivityThread.main (ActivityThread.java:5621)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:794)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:684)
Caused by: java.lang.NullPointerException: 
  at org.dpppt.android.sdk.internal.storage.ExposureDayStorage.getExposureDaysInternal (ExposureDayStorage.java:69)
  at org.dpppt.android.sdk.internal.storage.ExposureDayStorage.getExposureDays (ExposureDayStorage.java:85)
  at org.dpppt.android.sdk.DP3T.getStatus (DP3T.java:210)
  at org.dpppt.android.sdk.internal.TracingErrorsBroadcastReceiver.onReceive (TracingErrorsBroadcastReceiver.java:51)
  at android.app.LoadedApk$ReceiverDispatcher$Args.run (LoadedApk.java:962)
  at android.os.Handler.handleCallback (Handler.java:743)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:150)
  at android.app.ActivityThread.main (ActivityThread.java:5621)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:794)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:684)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant