android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Re: Nullpointer En fresco app instalar

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Re: Nullpointer En fresco app instalar
From: Ankur Avlani <ankuravlani@xxxxxxxxx>
Date: Mon, 31 Oct 2011 10:51:09 -0700
Delivery-date: Mon, 31 Oct 2011 13:51:43 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=sdTuorDSj19wn0RDjblOG4PhSBDER2BrQGhWUCJNipA=; b=S5DNfF/2o/SQIX0pG6xFoTqw3e/FQWiNderYwdqRpZS1Z+8grKaz1XcSihwr95siKK 8oONANQL5PaO2MUD/DEiiRUMut8nd8OwFGW6UgiFnZeauGJCV315N5fO4qG0Q3DY44TC n7559O8WXkGQDxPzXMpb9ArSqR7gcv0gKD/Ck=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <233c1e94-a7c8-415b-82d2-2f05758986c8@c1g2000vbw.googlegroups.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <CAFFX10RchBBtf6FLAV=qiEOswM2CicCLrCMGaJt1AjPEtx1BVQ@mail.gmail.com> <CAF1Sy-GyK6ZerYi4z_PPKafpbHPB7oYs9vYvz5L2DeUvHe9xow@mail.gmail.com> <CAFFX10Svk1XZcWtKoa9WF5YusYCi9BBor8vfT=x8hYMWFM9QPA@mail.gmail.com> <233c1e94-a7c8-415b-82d2-2f05758986c8@c1g2000vbw.googlegroups.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Abrí el *apk a *verify si el icono es allí o no y existe
dentro del *apk.

-*Ankur.

Encima Sentado, *Oct 29, 2011 en 11:41 AM, *Belvedere Servicios de Ordenador <
*fa8298*b8@*xxxxxxxxx> escribió:

>
> tienes un *NullPointerException en un icono que no es allí en
> *ContextImpl
>
> posiblemente muchos de ellos  el instalador no es la causa del NPE
>
> En *Oct 29, 12:43 soy, *Ankur *Avlani <ankuravl...@xxxxxxxxx> escribió:
> > Cuándo intento Instalar el *APK aquello es cuándo consigo este error.  Justo
> pasa
> > en este dispositivo.
> >
> > En *Fri, *Oct 28, 2011 en 10:32 PM, Kristopher *Micinski <
> >
> >
> >
> >
> >
> >
> >
> > krismicin...@xxxxxxxxx> escribió:
> > > qué es *mCurrentContent en vuestro programa?  Típicamente cuándo recientemente
> > > instalas un *app, no podrías haber montado *databases que esperas tener (por ejemplo, en desarrollo), y así que podrías conseguir *null *refs
> > > cuándo intentas mirar arriba de cosas que justo no ha sido creado.  Te
> > > es diciendo este problema va fuera después de utilizar el *app para un rato?  O que
> > > es justo una anomalía de este dispositivo particular.
> >
> > > *Kris
> >
> > > En Sentado, *Oct 29, 2011 en 12:59 AM, *Ankur *Avlani <ankuravl...@xxxxxxxxx>
> > > escribió:
> > > > *Hi,
> > > > he sido intentando instalar el mi *APK en mi dispositivo y yo consiguen el
> > > > siguiendo excepción:
> >
> > > > 10-28 16:45:18.150 yo/*InstallAppProgress(32006): Acabado instalando
> > > > *com.*wellcore.*newyu
> > > > 10-28 16:45:18.207 *W/*FileManagerApp(32056): *FileManagerActivity:
> *onResume
> > > > llamó, *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
> > > > Lista
> > > > 10-28 16:45:18.217 *W/*FileManagerApp(32056): *DirectoryScanner:
> Escaneando
> > > > directorio /*mnt/*sdcard/*Messaging
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056): el Fracaso que recupera icono
> > > > 0*x7*f020029 en paquete *com.*wellcore.*newyu
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):
> > > *java.*lang.*NullPointerException
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> > > >
> *android.*app.*ActivityThread$*ResourcesKey.<*init>(*ActivityThread.*java:1138)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> > > >
> *android.*app.*ActivityThread.*getTopLevelResources(*ActivityThread.*java:1207)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> > > >
> *android.*app.*ActivityThread.*getTopLevelResources(*ActivityThread.*java:1266)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> >
> > >
> *android.*app.*ContextImpl$*ApplicationPackageManager.*getResourcesForApplicatio
> *n(*ContextImpl.*java:2439)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> >
> > >
> *android.*app.*ContextImpl$*ApplicationPackageManager.*getDrawable(*ContextImpl.*j
> *ava:2332)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> > > > *android.Contenido.*pm.*PackageItemInfo.*loadIcon(*PackageItemInfo.*java:140)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> >
> > >
> *android.*app.*ContextImpl$*ApplicationPackageManager.*getApplicationIcon(*Contex
> *tImpl.*java:2387)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> >
> > >
> *com.*motorola.*filemanager.*utils.*IconifiedText.*buildIconItem(*IconifiedText.*ja
> *va:287)
> > > > 10-28 16:45:18.247 *W/*PackageManager(32056):   en
> >
> > >
> *com.*motorola.*filemanager.Local.*DirectoryScanner.Carrera(*DirectoryScanner.*java:8
> 3)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056): el Fracaso que recupera icono
> > > > 0*x7*f020029 en paquete *com.*wellcore.*newyu
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):
> > > *java.*lang.*NullPointerException
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> > > >
> *android.*app.*ActivityThread$*ResourcesKey.<*init>(*ActivityThread.*java:1138)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> > > >
> *android.*app.*ActivityThread.*getTopLevelResources(*ActivityThread.*java:1207)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> > > >
> *android.*app.*ActivityThread.*getTopLevelResources(*ActivityThread.*java:1266)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> >
> > >
> *android.*app.*ContextImpl$*ApplicationPackageManager.*getResourcesForApplicatio
> *n(*ContextImpl.*java:2439)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> >
> > >
> *android.*app.*ContextImpl$*ApplicationPackageManager.*getDrawable(*ContextImpl.*j
> *ava:2332)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> > > > *android.Contenido.*pm.*PackageItemInfo.*loadIcon(*PackageItemInfo.*java:140)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> >
> > >
> *android.*app.*ContextImpl$*ApplicationPackageManager.*getApplicationIcon(*Contex
> *tImpl.*java:2387)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> >
> > >
> *com.*motorola.*filemanager.*utils.*IconifiedText.*buildIconItem(*IconifiedText.*ja
> *va:287)
> > > > 10-28 16:45:18.267 *W/*PackageManager(32056):   en
> >
> > >
> *com.*motorola.*filemanager.Local.*DirectoryScanner.Carrera(*DirectoryScanner.*java:8
> 3)
> > > > 10-28 16:45:18.267 *W/*FileManagerApp(32056): *DirectoryScanner: dato
> > > de Envío
> > > > atrás a hilo principal
> >
> > > > Muy *pointers lo que esto significa?  Trabaja en otros dispositivos.
> >
> > > > -*Ankur.
> >
> > > > --
> > > > Recibiste este mensaje porque eres *subscribed al *Google
> > > > Grupos "*Android *Developers" grupo.
> > > > A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
> 
> > > > A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx
> > > > 
> > > > Puesto que más opciones, visita este grupo en
> > > >*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
> >
> > > --
> > > Recibiste este mensaje porque eres *subscribed al *Google
> > > Grupos "*Android *Developers" grupo.
> > > A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
> 
> > > A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx
> > > 
> > > Puesto que más opciones, visita este grupo en
> > >*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
>
> --
> Recibiste este mensaje porque eres *subscribed al *Google
> Grupos "*Android *Developers" grupo.
> A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
> A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx
> 
> Puesto que más opciones, visita este grupo en
> *http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
>

-- 
Recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
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 <
fa8298b8@xxxxxxxxx> 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 <ankuravl...@xxxxxxxxx> 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 <
> >
> >
> >
> >
> >
> >
> >
> > krismicin...@xxxxxxxxx> 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 <ankuravl...@xxxxxxxxx>
> > > 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
> android-developers@xxxxxxxxxxxxxxxx
> > > > To unsubscribe from this group, send email to
> > > > android-developers+unsubscribe@xxxxxxxxxxxxxxxx
> > > > 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
> android-developers@xxxxxxxxxxxxxxxx
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscribe@xxxxxxxxxxxxxxxx
> > > 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 android-developers@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@xxxxxxxxxxxxxxxx
> 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 android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<Anterior por Tema] Tema Actual [Siguiente por Tema>