Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-14 Thread kevens hao
I cannot use debugger when run monkey test. (monkey test likes windows mobile's hopper test.) From the log, the crashing code is super.onRestoreInstanceState(). 2010/10/14 TreKing treking...@gmail.com On Wed, Oct 13, 2010 at 8:55 PM, kevens hao ithjf.kev...@gmail.comwrote: I do not

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-14 Thread TreKing
On Thu, Oct 14, 2010 at 1:23 AM, kevens hao ithjf.kev...@gmail.com wrote: I cannot use debugger when run monkey test. (monkey test likes windows mobile's hopper test.) From the log, the crashing code is super.onRestoreInstanceState(). Well then put in a lot more logging? Not sure what else

[android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread kevens hao
When invoke super.onRestoreInstanceState, occur exception. [Code] @Override protected void onRestoreInstanceState(Bundle savedInstanceState) { Log.d(LOGTAG, + onRestoreInstanceState()); mFrequency = savedInstanceState.getInt(Constants.CURRENT_FRE);

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread TreKing
On Wed, Oct 13, 2010 at 2:41 AM, kevens hao ithjf.kev...@gmail.com wrote: When invoke super.onRestoreInstanceState, occur exception. Step through the debugger to determine which line, specifically, is causing the issue, then go from there.

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread kevens hao
Hi TreKing, I do not understand your means. Can you explain it clearly? [Note] This exception occurs when run monkey test. If test it manually, cannot reproduce it. 2010/10/13 TreKing treking...@gmail.com On Wed, Oct 13, 2010 at 2:41 AM, kevens hao ithjf.kev...@gmail.comwrote: When invoke

Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo

2010-10-13 Thread TreKing
On Wed, Oct 13, 2010 at 8:55 PM, kevens hao ithjf.kev...@gmail.com wrote: I do not understand your means. Can you explain it clearly? [Note] This exception occurs when run monkey test. If test it manually, cannot reproduce it. I don't know how monkey works, but normally you step through