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).

JBQ






-- 
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
warning.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Getting Stack overlfow error, pls help

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


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



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android SIM Card API

Hi I have scanned through the Android SDK and is still searching for
an API that allow application to read/write to the SIM card.

Does Android SDK expose any SIM API for developers ? If it is not in
the SDK, how does one go about trying to read/write to SIM card in the
Android phone ?

Thanks.

-- 

2. Sprint Hero Android 2.1 Lost Copy Protected Apps Access

Can somebody please confirm that the Spring Hero used to have access
to copy protected apps, however, after the upgrade to Android 2.1,
they now don't?

If this does get confirmed, is there any alternative to just removing
the copy protection?  Eg: If a user purchased a copy protected app,
then they upgraded to Android 2.1 (which wipes the phone), they can't
reinstall the copy protected app they purchased?

Thanks.

-- 

3. Handling keyevents in the Background (Service)

4. Why is emulator with WVGA loading image from drawable-mdpi?

5. Internal Storage - APPS2SD

6. Info: screen capture

7. Mod: Paging Medan Android User