Ackpine: NullPointerException: Unable to start receiver ru.solrudev.ackpine.impl.installer.receiver.PackageInstallerStatusReceiver

Recently this crash log appeared several times in sentry

RuntimeException
Unable to start receiver ru.solrudev.ackpine.impl.installer.receiver.PackageInstallerStatusReceiver: java.lang.NullPointerException

android.app.ActivityThread in handleReceiver at line 4315
android.app.ActivityThread in -$$Nest$mhandleReceiver
android.app.ActivityThread$H in handleMessage at line 2153
android.os.Handler in dispatchMessage at line 106
android.os.Looper in loopOnce at line 201
android.os.Looper in loop at line 288
android.app.ActivityThread in main at line 7872
java.lang.reflect.Method in invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 548
com.android.internal.os.ZygoteInit in main at line 936

Not sure if it’s related somehow - prior to crash, I see several consecutive breadcrumbs about low memory on device

Additional Info: ackpine = “0.9.4” device: Nexus 5, Android 13

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Version 0.11.2 containing the fix for NPE surge was released.

@nvkleban Yeah, I was asking that question specifically because of this section. But, as I wrote, this is irrelevant for Android 13, because preapproval is only available on 14+. Furthermore, this cast can only be triggered when the sesssion is non-null under normal conditions, because it’s the session who triggers execution of the receiver.