두개의 액티비티 이동을
내부 프레임이 있어서 getLocalActivityManager()
으로 사용하고 있습니다.

3번까지는 A -> B-> A 서로 이상없이 이동을 하는데
3번 이상부터 오류를 떨어뜨리면서 죽네요..


이것저것 다른것으로도 검색하면서 사용해봤지만 모두 동일한 증상이네요

     Intent intent = new Intent(SendRequest.this,GetRequest.class);
          Window window  = getLocalActivityManager().startActivity("kr.cinema.system", intent); 
          
    //Window window = mLAM.startActivity("Sec page", intent);  <-- 이것도 동일한 증상
             setContentView(window.getDecorView()); 
            //window= null;
             //mLAM= null;
  


두 액티비티 간에는 위소스로 서로 이동하고 있습니다.
ㅠㅠ

아래 로그캣에는 Stack overflow 라고 나와있어서 객체 생성된것 모두 null 로 처리했는데도 해결이 안되네요

어떤 좋은 방법이 있을까요..?


아래는 로그캣 내용입니다.

04-28 06:42:09.784: DEBUG/dalvikvm(101): GC freed 1286 objects / 76416 bytes in 101ms
04-28 06:42:14.574: INFO/dalvikvm(237): Stack overflow, expanding (0x41049200 to 0x41049000)
04-28 06:42:14.574: INFO/dalvikvm(237): Shrank stack (to 0x41049200, curFrame is 0x4104bc64)
04-28 06:42:14.584: DEBUG/AndroidRuntime(237): Shutting down VM
04-28 06:42:14.584: WARN/dalvikvm(237): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
04-28 06:42:14.584: ERROR/AndroidRuntime(237): Uncaught handler: thread main exiting due to uncaught exception
04-28 06:42:14.634: ERROR/AndroidRuntime(237): java.lang.StackOverflowError
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.TextView.onDraw(TextView.java:4052)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6535)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.View.draw(View.java:6538)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.widget.FrameLayout.draw(FrameLayout.java:352)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1830)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewRoot.draw(ViewRoot.java:1349)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewRoot.performTraversals(ViewRoot.java:1114)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
04-28 06:42:14.634: ERROR/AndroidRuntime(237):     at android.os.Handler.dispatchMessage(Han
04-28 06:42:14.684: INFO/Process(51): Sending signal. PID: 237 SIG: 3
04-28 06:42:14.694: INFO/dalvikvm(237): threadid=7: reacting to signal 3
04-28 06:42:14.694: INFO/dalvikvm(237): Wrote stack trace to '/data/anr/traces.txt'