Closed Bug 997783 Opened 11 years ago Closed 11 years ago

MessageMe application uses a default/generic Android icon: failure retrieving icon -- java.lang.NullPointerException android.app.ApplicationPackageManager.putCachedIcon(ApplicationPackageManager.java:865)

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

31 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox29 affected, firefox30 affected, firefox31 affected)

RESOLVED WORKSFORME
Tracking Status
firefox29 --- affected
firefox30 --- affected
firefox31 --- affected

People

(Reporter: aaronmt, Unassigned)

Details

(Keywords: regression, reproducible)

Seemingly this is not fixed despite having this once fixed with bug 982814. Visit and install https://marketplace.firefox.com/app/msgme in Nightly See the generic application icons used in the package installer. Install the application and see the generic application icon used. On access to com.android.settings/.applications.InstalledAppDetails W/PackageManager(13428): Failure retrieving icon 0x7f020001 in package com.messageme.chat.p50806838af32cef5b7fde86740d11594 W/PackageManager(13428): java.lang.NullPointerException W/PackageManager(13428): at android.app.ApplicationPackageManager.putCachedIcon(ApplicationPackageManager.java:865) W/PackageManager(13428): at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:679) W/PackageManager(13428): at android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:140) W/PackageManager(13428): at com.android.settings.applications.ApplicationsState$AppEntry.ensureIconLocked(ApplicationsState.java:143) W/PackageManager(13428): at com.android.settings.applications.ApplicationsState.ensureIcon(ApplicationsState.java:716) W/PackageManager(13428): at com.android.settings.applications.InstalledAppDetails.setAppLabelAndIcon(InstalledAppDetails.java:545) W/PackageManager(13428): at com.android.settings.applications.InstalledAppDetails.refreshUi(InstalledAppDetails.java:847) W/PackageManager(13428): at com.android.settings.applications.InstalledAppDetails.onResume(InstalledAppDetails.java:567) W/PackageManager(13428): at android.app.Fragment.performResume(Fragment.java:1743) W/PackageManager(13428): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:924) W/PackageManager(13428): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062) W/PackageManager(13428): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044) W/PackageManager(13428): at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1863) W/PackageManager(13428): at android.app.Activity.performResume(Activity.java:5320) W/PackageManager(13428): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2778) W/PackageManager(13428): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2817) W/PackageManager(13428): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250) W/PackageManager(13428): at android.app.ActivityThread.access$800(ActivityThread.java:135) W/PackageManager(13428): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) W/PackageManager(13428): at android.os.Handler.dispatchMessage(Handler.java:102) W/PackageManager(13428): at android.os.Looper.loop(Looper.java:136) W/PackageManager(13428): at android.app.ActivityThread.main(ActivityThread.java:5017) W/PackageManager(13428): at java.lang.reflect.Method.invokeNative(Native Method) W/PackageManager(13428): at java.lang.reflect.Method.invoke(Method.java:515) W/PackageManager(13428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) W/PackageManager(13428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) W/PackageManager(13428): at dalvik.system.NativeStart.main(Native Method)
Last good revision: 611698b4a246 (2014-01-27) First bad revision: 4da3e21a0e5f (2014-01-28) Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=611698b4a246&tochange=4da3e21a0e5f
Looking through the contents of the APK, I see the default Android icon in res/drawable-hdpi/ic_launcher.png the other icons are App specific (drawable-ldpi, drawable-mdpi, drawable-xhdpi)
As this affects 29, this should be investigated.
Component: General → Web Apps
QA Contact: aaron.train
(In reply to cristina.madaras from comment #1) > Last good revision: 611698b4a246 (2014-01-27) > First bad revision: 4da3e21a0e5f (2014-01-28) > > Pushlog: > http://hg.mozilla.org/mozilla-central/ > pushloghtml?fromchange=611698b4a246&tochange=4da3e21a0e5f Less likely a client change and quite possibly more an APK Factory change. The difference you're seeing in that range from back in January is enabling Synthetic APK's by default.
Comment#2 is no longer accurate. Form both my dev instances as well as production, I see messageme icons in * messageme/res/drawable-xhdpi/ic_launcher.png * messageme/res/drawable-hdpi/ic_launcher.png * messageme/res/drawable-mdpi/ic_launcher.png jhugman / myk - from a client perspective, any ideas what is needed to fix this?
Flags: needinfo?(myk)
Flags: needinfo?(jhugman)
> Form both my dev instances as well as production For both my dev instance as well as produciton ... Also, I'm wondering if this app having 256 pixel icons is causing this or ... ? but all the icons in the APK have the correct icon.
I cannot repro on a Nexus 4 against production. this is reported against a Nexus 5.
I re-tested today and this is WFM.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(myk)
Flags: needinfo?(jhugman)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.