Hi,

I found a bug in APN editor of settings

Duplicate procedure is below,

1.Settings ->Wireless&networks->Mobile networks->Access Point Names
2.Press menu on top-right-New APN
3."Edit access point"dialog show up
4.Press "Home" button to go to home page
5.Do step 1 again
6.Error message appears

Log msg is below:

02-01 08:28:54.710: ERROR/AndroidRuntime(1640):
java.lang.RuntimeException: Unable to resume activity
{com.android.settings/com.android.settings.ApnSettings}:
java.lang.IllegalStateException: trying to requery an already closed
cursor  android.content.ContentResolver$CursorWrapperInner@4055d470
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2288)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:
2316)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1050)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.os.Handler.dispatchMessage(Handler.java:99)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.os.Looper.loop(Looper.java:132)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.ActivityThread.main(ActivityThread.java:4123)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
java.lang.reflect.Method.invokeNative(Native Method)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
java.lang.reflect.Method.invoke(Method.java:491)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:841)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
dalvik.system.NativeStart.main(Native Method)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640): Caused by:
java.lang.IllegalStateException: trying to requery an already closed
cursor  android.content.ContentResolver$CursorWrapperInner@4055d470
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.Activity.performRestart(Activity.java:4438)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.Activity.performResume(Activity.java:4460)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2278)
02-01 08:28:54.710: ERROR/AndroidRuntime(1640):     ... 10 more
02-01 08:28:54.720: WARN/ActivityManager(244):   Force finishing
activity com.android.settings/.ApnSettings
02-01 08:28:54.730: WARN/ActivityManager(244):   Force finishing
activity com.android.phone/.Settings

Could you tell me the solution?

-- 
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

Reply via email to