On Apr 4, 7:58 pm, Dianne Hackborn <[email protected]> wrote:
> Whatever source code you are looking at does not match the build you are
> running on.  deliverKeyEventToViewHierarchy() is a recursive traversal down
> the view hierarchy to deliver a key event.  Most likely you view hierarchy
> is too deep.  Try using hierarchyviewer to look at it, and simplify it
> (which will help the performance of your app as well).

This may also be running up against a StackOverflowError handling bug,
described here:

 
http://groups.google.com/group/android-platform/browse_thread/thread/62f921e168dc166/9658dcd8dddb30c9?q=fadden+stackoverflowerror#9658dcd8dddb30c9

I mention this as a possibility because the code fragment in the
original posting is apparently stopped in a "finally" block.  The bug
(fixed for cupcake) generally makes it hard to figure out what's
actually going on when the stack overflows.  OTOH, this bug should not
appear if you have a debugger attached at the time of the failure (it
only existed in the ARM asm version), so this is a little strange.

In any event, the view hierarchy depth is a good place to start.

--~--~---------~--~----~------------~-------~--~----~
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