Getting Stack overlfow error, pls help

by manohar » Tue, 31 Mar 2009 15:02:20 GMT

Sponsored Links
 I am learning android.  I stuck up in one problem while building an
application.  It is showing Stack overflow message  expanding
(0x41049200 to 0x4104900). After this it shows null pointer exception
and app is exiting. Any one guide me on this pls.. pls hellp

Getting Stack overlfow error, pls help

by Jean-Baptiste Queru » Tue, 31 Mar 2009 20:04:42 GMT

 Could it be that you're building a very deep view hierarchy (more than
about a dozen levels, though the exact critical depth depends on the
specific views you use)? Those are common causes of stack overflows.

(Beyond that, there's a known bug in 1.0/1.1 where the stack trace for
stack overflows isn't properly reported, so they can be somewhat hard
to debug).


Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further


Sponsored Links

Getting Stack overlfow error, pls help

by zhoubo shi » Wed, 01 Apr 2009 11:58:59 GMT

 I think you could debug your app with eclipse. Maybe ,your codes has
certainly, you can show your code to us.
*2009/3/31 Jean-Baptiste Queru <>


Other Threads

1. Device Seeding Program for Top ADC2 Developers

You know, all we need now is a Nexus One seeding program to those of
us who pre-ordered G1s, and we'll have most of the early advocates

Well, a boy can dream...



2. Conventions about using SD card

Hello all,

I have a question about SD card usage in Android applications. I need
my application to store some files on the SD card. Is there any
document (conventions) about how the application should use the SD

I saw applications create a directory named as the application itself
and store their files in this directory. I saw a number of
applications that create a directory named as the application's
package. I saw some applications that write files directly to the SD
card root. And, finally, built-in camera application uses standard
DCIM/100XXXX scheme.

So the question is: is there any recommendation about where to store
files (to make them visible for users and avoid conflicts with other
applications) or I can decide it on my own.

Thank you in advance.


3. Update #5: Kloteran External Battery 4400mAh - Just Mobile Gum Pro & Gum Plus (Last Day

4. Android by i-mobile

5. Accessing input method completions

6. Help mau unroot malah ngaco :

7. Problem launching my own (camera) application on press of Camera-button (part 2)