android-developers
[Arriba] [Todas las Listas]

[android-developers] java.lang.IllegalStateException: android.widget.Lis

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] java.lang.IllegalStateException: android.widget.ListView.layoutChildren (ListView.java:1618) accidente - cuestión sobre los rastros
From: bernard <bzelmans@xxxxxxxxx>
Date: Thu, 3 Aug 2017 10:08:43 -0700 (PDT)
Delivery-date: Thu, 03 Aug 2017 13:14:03 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=GYI2zwhnD3JADWaq/9itX81bC67QnG5dUojAucySBrE=; b=DGbFx8A99GjNlBPEtA6RHnmKmPDbEs3nX9Ia7HYop0wcu10RXUdyvvIhE3YraeeWwB mFhaFetYJ1yYUceWkRs5sCNFIWazWLb5asvjrFUkLApOiLcf9k+LRGDE5Ou5yZvul6gg 6xx852JZTsieFd/TtTJPKcaF0fza6fwpndz0JqPVHbk7VhcTmFIFzfd7nT6NEHr369xj d0F+h0Q4IwiHB/tvLv1aMybUKvJ3JE5ECdG4Y/RP4x78EY5CiavvjsFzUeUAvVEjwt/H VIuIeVv6/sosrxF4InctNmBD1eJqLIG5aWkj1LKuK87qVbKtHUVLKgzVw11EgZ3ALbQR r5Mw==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=GYI2zwhnD3JADWaq/9itX81bC67QnG5dUojAucySBrE=; b=k1iyZZlVPOOfwrUIhWfMeNLtmsWPczceu03SrmtGkSdhUy/KJuiMkS7Is2i7oP+XWn Da2+NsuSa2scP9/w0qH1Y/nENgAbvIMhfOg64Q8PTQPdUOomXz/AlAXZSIGp3IG4EMpW M4dMXA4TeNH4QRgJ/x8Om3yMCo2m9RCwR8uTGAPej+KsNjsbb06+PHNeGPwoPYmPzgHV 1ddohpbOhUPnkvBBIKqnwccNwsc2NxVmrTKTyyCH2KKle2XV/R8oPOQRfctzWOozp4oK pJADHfJVSiZL5TJNxsgRC87qdsID+QXR+GRxQWA9XDNJfkzKRU9nOsgyWCKCGp1XwDp+ Vs6w==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx

Sólo veo este accidente en *prod. No tengo ningún dato en los rastros que está 
indicando donde lo chocado en mi código.

Estoy probando a estrecho abajo la parte en mi *app donde chocó.

Tengo 2 cuestiones relacionadas a los rastros:

1. En el rastro acaba por la llamada a *zygoteninit. Es la información más 
pertinente cuando consigo más cercano al accidente? En otros plazos, es las primeras líneas 
sobre información muy genérica y tener que no centro demasiado en ellos?

2. He destacado abajo 3 líneas que menciona un *linearlayout con la orientación 
vertical. Fuera de #mío 10 *listviews sólo tengo 1 *linearlayout 
*listview.


*Thanks Anticipadamente!


Aquí es el *stack rastros:


**java.*lang.*IllegalStateException*: 
En *android.*widget.*ListView.*layoutChildren (*ListView.*java:1618)
en *android.*widget.*AbsListView.*onLayout (*AbsListView.*java:2170)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.*widget.*RelativeLayout.*onLayout (*RelativeLayout.*java:1079)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.*widget.*RelativeLayout.*onLayout (*RelativeLayout.*java:1079)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.*widget.*FrameLayout.*layoutChildren (*FrameLayout.*java:323)
en *android.*widget.*FrameLayout.*onLayout (*FrameLayout.*java:261)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.Apoyo.*v4.*widget.*DrawerLayout.*onLayout (*DrawerLayout.*java:1197)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.*widget.*FrameLayout.*layoutChildren (*FrameLayout.*java:323)
en *android.*widget.*FrameLayout.*onLayout (*FrameLayout.*java:261)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.Apoyo.*v7.*widget.*ActionBarOverlayLayout.*onLayout 
(*ActionBarOverlayLayout.*java:433)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.*widget.*FrameLayout.*layoutChildren (*FrameLayout.*java:323)
en *android.*widget.*FrameLayout.*onLayout (*FrameLayout.*java:261)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
*en *android.*widget.*LinearLayout.*setChildFrame (*LinearLayout.*java:1741)*
* en *android.*widget.*LinearLayout.*layoutVertical (*LinearLayout.*java:1585)*
* en *android.*widget.*LinearLayout.*onLayout (*LinearLayout.*java:1494)*
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.*widget.*FrameLayout.*layoutChildren (*FrameLayout.*java:323)
en *android.*widget.*FrameLayout.*onLayout (*FrameLayout.*java:261)
en *com.*android.Interno.Política.*DecorView.*onLayout (*DecorView.*java:727)
en *android.Vista.Vista.*layout (Vista.*java:17637)
en *android.Vista.*ViewGroup.*layout (*ViewGroup.*java:5575)
en *android.Vista.*ViewRootImpl.*performLayout (*ViewRootImpl.*java:2346)
en *android.Vista.*ViewRootImpl.*performTraversals (*ViewRootImpl.*java:2068)
en *android.Vista.*ViewRootImpl.*doTraversal (*ViewRootImpl.*java:1254)
en *android.Vista.*ViewRootImpl$*TraversalRunnable.Carrera (*ViewRootImpl.*java:6338)
en *android.Vista.Coreógrafo$*CallbackRecord.Carrera (Coreógrafo.*java:874)
en *android.Vista.Coreógrafo.*doCallbacks (Coreógrafo.*java:686)
en *android.Vista.Coreógrafo.*doFrame (Coreógrafo.*java:621)
en *android.Vista.Coreógrafo$*FrameDisplayEventReceiver.Carrera 
(Coreógrafo.*java:860)
en *android.*os.*Handler.*handleCallback (*Handler.*java:751)
en *android.*os.*Handler.*dispatchMessage (*Handler.*java:95)
en *android.*os.*Looper.Bucle (*Looper.*java:154)
en *android.*app.*ActivityThread.Principal (*ActivityThread.*java:6121)
en *java.*lang.Refleja.Método.Invoca (Método Nativo)
en *com.*android.Interno.*os.*ZygoteInit$*MethodAndArgsCaller.Carrera 
(*ZygoteInit.*java:889)
en *com.*android.Interno.*os.*ZygoteInit.Principal (*ZygoteInit.*java:779)

-- 
recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/05536696-*bfcc-44*e5-*bc75-24*c0*dccf97*c3%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.

I only see this crash in prod. I have no data in the traces that is 
indicating where it crashed in my code.

I am trying to narrow down the part in my app where it crashed.

I have 2 questions related to the traces:

1. in the trace it ends by the call to zygoteninit. Is the information more 
relevant as I get closer to the crash? in other terms, are the first lines 
about very generic information and should I not focus too much on them?

2. I've highlighted below 3 lines that mentions a linearlayout with 
orientation vertical. Out of my 10 listviews I only have 1 linearlayout 
listview.


Thanks in advance!


Here is the stack traces:


*java.lang.IllegalStateException*: 
at android.widget.ListView.layoutChildren (ListView.java:1618)
at android.widget.AbsListView.onLayout (AbsListView.java:2170)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.widget.RelativeLayout.onLayout (RelativeLayout.java:1079)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.widget.RelativeLayout.onLayout (RelativeLayout.java:1079)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.support.v4.widget.DrawerLayout.onLayout (DrawerLayout.java:1197)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.support.v7.widget.ActionBarOverlayLayout.onLayout 
(ActionBarOverlayLayout.java:433)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
*at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1741)*
* at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1585)*
* at android.widget.LinearLayout.onLayout (LinearLayout.java:1494)*
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:323)
at android.widget.FrameLayout.onLayout (FrameLayout.java:261)
at com.android.internal.policy.DecorView.onLayout (DecorView.java:727)
at android.view.View.layout (View.java:17637)
at android.view.ViewGroup.layout (ViewGroup.java:5575)
at android.view.ViewRootImpl.performLayout (ViewRootImpl.java:2346)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2068)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1254)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6338)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:874)
at android.view.Choreographer.doCallbacks (Choreographer.java:686)
at android.view.Choreographer.doFrame (Choreographer.java:621)
at android.view.Choreographer$FrameDisplayEventReceiver.run 
(Choreographer.java:860)
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6121)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run 
(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:779)

-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/05536696-bfcc-44e5-bc75-24c0dccf97c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] java.lang.IllegalStateException: android.widget.ListView.layoutChildren (ListView.java:1618) accidente - cuestión sobre los rastros, bernard <=