Thanks for the response.

I have not been really able to understand what is happening.When i was
trying to debug,I started removing some views in the layuot and the null
pointer was not getting thrown,

Then again i started adding the views one after the other and the code
started working fine.


But when i took the code to a difff machine ,it started to throw the same
error..



Also i would like to know what you mean by "the view heirarchy is too
big"..I have assumed that the view heirarchy can any be as complex as it can
get.Is it a fair assumption.


Thanks Once again!


On Wed, Nov 5, 2008 at 2:11 AM, fadden <[EMAIL PROTECTED]> wrote:

>
> On Nov 4, 1:09 am, "for android" <[EMAIL PROTECTED]> wrote:
> > I have created a complex view layout.Whn i see the layout(in eclipse)it
> > appears fine .When i see the log statements also I get the statements
> till
> > the last line in the onCreate without any issues .
> >
> > But at run time i get this error which is Nullpointer.What does this
> error
> > really indicate??
>
> The interpreted stack overflowed, causing a StackOverflowException.
> Something likely caught it and then failed with a
> NullPointerException.  The stack trace points to a "finally" block in
> ViewRoot.draw(), which means something in the associated "try" block
> threw the NPE.
>
> The likely cause is that your view hierarchy is too deep.  If you can
> break on StackOverflowException in the Eclipse debugger you should be
> able to see the point of the throw and the full contents of the stack.
>
> >
>

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