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. Issues installing Opera browser on Froyo 2.2. libopera.so not found

I have a dev phone Froyo 2.2 with a non-working browser and wanted to
install another browser on it. On a phone with a working browser, I
downloaded Opera browser from amazon marketplace. However, I cannot
find what the apk name is in /system/app. Does anyone know?

So I went to this site and downloaded the apk to my laptop:
http://getandroidstuff.com/opera-101-android-download-beta-apk/

adb push Opera_Mobile_10.1_beta.apk /system/app

01-01 00:05:42.632: DEBUG/dalvikvm(1680): Trying to load lib /data/
data/com.opera.browser/lib/libopera.so 0x45cb1bb8
01-01 00:05:42.632: INFO/dalvikvm(1680): Unable to dlopen(/data/data/
com.opera.browser/lib/libopera.so): Cannot load library:
load_library[1083]: Library '/data/data/com.opera.browser/lib/
libopera.so' not found
01-01 00:05:42.632: DEBUG/AndroidRuntime(1680): Shutting down VM
01-01 00:05:42.632: WARN/dalvikvm(1680): threadid=1: thread exiting
with uncaught exception (group=0x400208b0)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680): FATAL EXCEPTION: main
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):
java.lang.UnsatisfiedLinkError: Library /data/data/com.opera.browser/
lib/libopera.so not found
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
java.lang.Runtime.load(Runtime.java:409)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
java.lang.System.load(System.java:536)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
com.opera.BreamNative.loadLibs(BreamNative.java:125)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
com.opera.Bream.init(Bream.java:179)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
com.opera.Opera.backgroundStart(Opera.java:24)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at com.opera.Opera
$1.run(Opera.java:73)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
android.os.Handler.handleCallback(Handler.java:587)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
android.os.Handler.dispatchMessage(Handler.java:92)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
android.os.Looper.loop(Looper.java:123)
01-01 00:05:42.640: ERROR/AndroidRuntime(1680):     at
android.app.ActivityThread.main(ActivityThread.java:4627)

-- 

2. widget on lockscreen

Hi all i am developing music player and i want to put some controls
when screen is locked. Is there a way to put widget when screen is
lock ? The documentation says that "For example, the home screen has
one way of viewing widgets, but the lock screen could also contain
widgets," but i couldn't find a way to add widget to lockscreen so any
ideas ?

--

3. Do OpenGL ES 2.0 phones also support ES 1.1?

4. Change the Position for a drawed bitmap on a canvas

5. Java Developer - Technical/Product Job Opening - NYC,NY

6. Hosting and starting an executable from Android application

7. Why would the wallpaper look OK and the widgets all black?