I opened the apk to verify whether the icon is there or not and it exists
inside the apk.

-Ankur.

On Sat, Oct 29, 2011 at 11:41 AM, Belvedere Computer Services <
[email protected]> wrote:

>
> you have a NullPointerException on an icon that is not there in
> ContextImpl
>
> possibly several of them ~ the installer is not the cause of the NPE
>
> On Oct 29, 12:43 am, Ankur Avlani <[email protected]> wrote:
> > When I try to Install the APK that's when I get this error.  It just
> happens
> > on this device.
> >
> > On Fri, Oct 28, 2011 at 10:32 PM, Kristopher Micinski <
> >
> >
> >
> >
> >
> >
> >
> > [email protected]> wrote:
> > > what is mCurrentContent in your program?  Typically when you freshly
> > > install an app, you might not have set up databases that you expect to
> > > have (for example, in development), and so you might get null refs
> > > when you try to look up things that just haven't been created.  Are
> > > you saying this problem goes away after using the app for a while?  Or
> > > that it's just an anomaly of this particular device.
> >
> > > Kris
> >
> > > On Sat, Oct 29, 2011 at 12:59 AM, Ankur Avlani <[email protected]>
> > > wrote:
> > > > Hi,
> > > > I have been trying to install the my APK on my device and I get the
> > > > following exception:
> >
> > > > 10-28 16:45:18.150 I/InstallAppProgress(32006): Finished installing
> > > > com.wellcore.newyu
> > > > 10-28 16:45:18.207 W/FileManagerApp(32056): FileManagerActivity:
> onResume
> > > > called, mCurrentContent ==nomulti
> > > > 10-28 16:45:18.207 W/FileManagerApp(32056): FileManagerActivity:
> > > > stopActivityThread
> > > > 10-28 16:45:18.207 W/FileManagerApp(32056): FileManagerActivity:
> > > > updateAdapter !
> > > > 10-28 16:45:18.207 W/FileManagerApp(32056): FileManagerActivity:
> > > emptylist
> > > > 10-28 16:45:18.207 W/FileManagerApp(32056): FileManagerActivity:
> Refresh
> > > > List
> > > > 10-28 16:45:18.217 W/FileManagerApp(32056): DirectoryScanner:
> Scanning
> > > > directory /mnt/sdcard/Messaging
> > > > 10-28 16:45:18.247 W/PackageManager(32056): Failure retrieving icon
> > > > 0x7f020029 in package com.wellcore.newyu
> > > > 10-28 16:45:18.247 W/PackageManager(32056):
> > > java.lang.NullPointerException
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> > > >
> android.app.ActivityThread$ResourcesKey.<init>(ActivityThread.java:1138)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> > > >
> android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1207)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> > > >
> android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1266)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> >
> > >
> android.app.ContextImpl$ApplicationPackageManager.getResourcesForApplicatio
> n(ContextImpl.java:2439)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> >
> > >
> android.app.ContextImpl$ApplicationPackageManager.getDrawable(ContextImpl.j
> ava:2332)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> > > > android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:140)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> >
> > >
> android.app.ContextImpl$ApplicationPackageManager.getApplicationIcon(Contex
> tImpl.java:2387)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> >
> > >
> com.motorola.filemanager.utils.IconifiedText.buildIconItem(IconifiedText.ja
> va:287)
> > > > 10-28 16:45:18.247 W/PackageManager(32056):   at
> >
> > >
> com.motorola.filemanager.local.DirectoryScanner.run(DirectoryScanner.java:8
> 3)
> > > > 10-28 16:45:18.267 W/PackageManager(32056): Failure retrieving icon
> > > > 0x7f020029 in package com.wellcore.newyu
> > > > 10-28 16:45:18.267 W/PackageManager(32056):
> > > java.lang.NullPointerException
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> > > >
> android.app.ActivityThread$ResourcesKey.<init>(ActivityThread.java:1138)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> > > >
> android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1207)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> > > >
> android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1266)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> >
> > >
> android.app.ContextImpl$ApplicationPackageManager.getResourcesForApplicatio
> n(ContextImpl.java:2439)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> >
> > >
> android.app.ContextImpl$ApplicationPackageManager.getDrawable(ContextImpl.j
> ava:2332)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> > > > android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:140)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> >
> > >
> android.app.ContextImpl$ApplicationPackageManager.getApplicationIcon(Contex
> tImpl.java:2387)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> >
> > >
> com.motorola.filemanager.utils.IconifiedText.buildIconItem(IconifiedText.ja
> va:287)
> > > > 10-28 16:45:18.267 W/PackageManager(32056):   at
> >
> > >
> com.motorola.filemanager.local.DirectoryScanner.run(DirectoryScanner.java:8
> 3)
> > > > 10-28 16:45:18.267 W/FileManagerApp(32056): DirectoryScanner: Sending
> > > data
> > > > back to main thread
> >
> > > > Any pointers what this means?  It works on other devices.
> >
> > > > -Ankur.
> >
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to
> [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to
> [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to