Our views aren't too deep, but they may be too wide, perhaps (too many siblings under the same parent)? I am displaying lots of data using a cursor.
I actually get two stacks to look at: 1. When the exception is thrown the debugger pauses in CursorWrapper.getCount: 11-23 11:56:55.383: DEBUG/AndroidRuntime(9190): Shutting down VM 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): FATAL EXCEPTION: main-2.3.4 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): java.lang.StackOverflowError 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): at android.database.CursorWrapper.getCount(CursorWrapper.java:70) 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): at android.database.MergeCursor.getCount(MergeCursor.java:61) 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): at android.database.MergeCursor.getCount(MergeCursor.java:61) 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:171) 11-23 11:56:55.593: ERROR/AndroidRuntime(9190): at android.database.CursorWrapper.moveToPosition(CursorWrapper.java:187) 2. the stacktrace shown in LogCat is ListView.layoutChildren() line: 1758 ListView(AbsListView).onLayout(boolean, int, int, int, int) line: 1286 ListView(View).layout(int, int, int, int) line: 7184 LinearLayout.setChildFrame(View, int, int, int, int) line: 1254 LinearLayout.layoutVertical() line: 1130 LinearLayout.onLayout(boolean, int, int, int, int) line: 1047 LinearLayout(View).layout(int, int, int, int) line: 7184 NoSaveStateFrameLayout(FrameLayout).onLayout(boolean, int, int, int, int) line: 338 NoSaveStateFrameLayout(View).layout(int, int, int, int) line: 7184 FrameLayout.onLayout(boolean, int, int, int, int) line: 338 FrameLayout(View).layout(int, int, int, int) line: 7184 FrameLayout.onLayout(boolean, int, int, int, int) line: 338 FrameLayout(View).layout(int, int, int, int) line: 7184 PhoneWindow$DecorView(FrameLayout).onLayout(boolean, int, int, int, int) line: 338 PhoneWindow$DecorView(View).layout(int, int, int, int) line: 7184 FrameLayout.onLayout(boolean, int, int, int, int) line: 338 FrameLayout(View).layout(int, int, int, int) line: 7184 LinearLayout.setChildFrame(View, int, int, int, int) line: 1254 LinearLayout.layoutVertical() line: 1130 LinearLayout.onLayout(boolean, int, int, int, int) line: 1047 LinearLayout(View).layout(int, int, int, int) line: 7184 TabHost(FrameLayout).onLayout(boolean, int, int, int, int) line: 338 TabHost(View).layout(int, int, int, int) line: 7184 LinearLayout.setChildFrame(View, int, int, int, int) line: 1254 LinearLayout.layoutVertical() line: 1130 LinearLayout.onLayout(boolean, int, int, int, int) line: 1047 LinearLayout(View).layout(int, int, int, int) line: 7184 FrameLayout.onLayout(boolean, int, int, int, int) line: 338 FrameLayout(View).layout(int, int, int, int) line: 7184 PhoneWindow$DecorView(FrameLayout).onLayout(boolean, int, int, int, int) line: 338 PhoneWindow$DecorView(View).layout(int, int, int, int) line: 7184 ViewRoot.performTraversals() line: 1148 ViewRoot.handleMessage(Message) line: 1867 ViewRoot(Handler).dispatchMessage(Message) line: 99 Looper.loop() line: 130 ActivityThread.main(String[]) line: 3806 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method] Method.invoke(Object, Object...) line: 507 ZygoteInit$MethodAndArgsCaller.run() line: 839 ZygoteInit.main(String[]) line: 597 NativeStart.main(String[]) line: not available [native method] -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en