auxility / better-apk-expansion

Community maintained Android APK Expansion library
Apache License 2.0
27 stars 14 forks source link

DownloaderService get NPE #14

Closed ricky7777 closed 5 years ago

ricky7777 commented 5 years ago

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Parcelable android.content.Intent.getParcelableExtra(java.lang.String)' on a null object reference at com.google.android.vending.expansion.downloader.impl.DownloaderService.onHandleIntent(DownloaderService.java:1017) at com.google.android.vending.expansion.downloader.impl.CustomIntentService$ServiceHandler.handleMessage(CustomIntentService.java:100) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65)

intent.getParcelableExtra(EXTRA_PENDING_INTENT) or when intent == null || intent.getParcelableExtra(EXTRA_PENDING_INTENT) == null return?

ricky7777 commented 5 years ago

already solved