I am getting a StackOverflow error inside ViewRoot, I would appreciate some help in troubleshooting it? I don't understand why it causes a StackOverflow, since from the stack trace, it is not calling something recursive. And i don't understand why it report line 2155 as the line for the exception:
line 2155 is a if check: if (sendDone) { if (LOCAL_LOGV) Log.v( "ViewRoot", "Telling window manager key is finished"); try { sWindowSession.finishKey(mWindow); } catch (RemoteException e) { } } Thread [<3> main] (Suspended (exception StackOverflowError)) ViewRoot.deliverKeyEventToViewHierarchy(KeyEvent, boolean) line: 2155 ViewRoot.handleFinishedEvent(int, boolean) line: 2083 ViewRoot.handleMessage(Message) line: 1444 ViewRoot(Handler).dispatchMessage(Message) line: 99 Looper.loop() line: 123 ActivityThread.main(String[]) line: 3821 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method] Method.invoke(Object, Object...) line: 521 ZygoteInit$MethodAndArgsCaller.run() line: 745 ZygoteInit.main(String[]) line: 503 NativeStart.main(String[]) line: not available [native method] Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---