{"comment":{"url":"https://api.github.com/repos/ResurrectionRemix/Resurrection_packages_apps_Settings/comments/11519837","html_url":"https://github.com/ResurrectionRemix/Resurrection_packages_apps_Settings/commit/6d2e91e432bf3fced8e50bffc054d962663fbd7d#commitcomment-11519837","id":11519837,"user":{"login":"ShevT","id":4339059,"avatar_url":"https://avatars.githubusercontent.com/u/4339059?v=3","gravatar_id":"","url":"https://api.github.com/users/ShevT","html_url":"https://github.com/ShevT","followers_url":"https://api.github.com/users/ShevT/followers","following_url":"https://api.github.com/users/ShevT/following{/other_user}","gists_url":"https://api.github.com/users/ShevT/gists{/gist_id}","starred_url":"https://api.github.com/users/ShevT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShevT/subscriptions","organizations_url":"https://api.github.com/users/ShevT/orgs","repos_url":"https://api.github.com/users/ShevT/repos","events_url":"https://api.github.com/users/ShevT/events{/privacy}","received_events_url":"https://api.github.com/users/ShevT/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"6d2e91e432bf3fced8e50bffc054d962663fbd7d","created_at":"2015-06-04T12:06:04Z","updated_at":"2015-06-04T12:06:04Z","body":"I do not know where to write. I will write here.\r\nIt has long been watching the following issue on my tablet: When you try to select the input method get the error \"Unfortunately, Settings has stopped\". On my phone, this error does not reproduce.\r\n\r\nHow to reproduce: Settings -> Language & input -> Current keyboard -> CHOOSE KEYBOARDS\r\n\r\nin logcat:\r\nI/ActivityManager( 2771): START u0 {act=android.settings.INPUT_METHOD_SETTINGS flg=0x14200000 cmp=com.android.settings/.Settings$InputMethodAndLanguageSettingsActivity} from uid 1000 on display 0\r\nV/WindowManager( 2771): addAppToken: AppWindowToken{1ff0dcb7 token=Token{1359b7b6 ActivityRecord{31073351 u0 com.android.settings/.Settings$InputMethodAndLanguageSettingsActivity t9}}} to stack=1 task=9 at 2\r\nD/OpenGLRenderer( 2771): endAllStagingAnimators on 0xa0509e80 (RippleDrawable) with handle 0x9f838980\r\nD/AndroidRuntime( 9813): Shutting down VM\r\nE/AndroidRuntime( 9813): FATAL EXCEPTION: main\r\nE/AndroidRuntime( 9813): Process: com.android.settings, PID: 9813\r\nE/AndroidRuntime( 9813): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$InputMethodAndLanguageSettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference\r\nE/AndroidRuntime( 9813):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)\r\nE/AndroidRuntime( 9813):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2421)\r\nE/AndroidRuntime( 9813):        at android.app.ActivityThread.access$900(ActivityThread.java:153)\r\nE/AndroidRuntime( 9813):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)\r\nE/AndroidRuntime( 9813):        at android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime( 9813):        at android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime( 9813):        at android.app.ActivityThread.main(ActivityThread.java:5347)\r\nE/AndroidRuntime( 9813):        at java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime( 9813):        at java.lang.reflect.Method.invoke(Method.java:372)\r\nE/AndroidRuntime( 9813):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)\r\nE/AndroidRuntime( 9813):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)\r\nE/AndroidRuntime( 9813): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference\r\nE/AndroidRuntime( 9813):        at android.preference.PreferenceGroup.removePreferenceInt(PreferenceGroup.java:192)\r\nE/AndroidRuntime( 9813):        at android.preference.PreferenceGroup.removePreference(PreferenceGroup.java:185)\r\nE/AndroidRuntime( 9813):        at com.android.settings.inputmethod.InputMethodAndLanguageSettings.onCreate(InputMethodAndLanguageSettings.java:244)\r\nE/AndroidRuntime( 9813):        at android.app.Fragment.performCreate(Fragment.java:2031)\r\nE/AndroidRuntime( 9813):        at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:863)\r\nE/AndroidRuntime( 9813):        at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)\r\nE/AndroidRuntime( 9813):        at android.app.BackStackRecord.run(BackStackRecord.java:834)\r\nE/AndroidRuntime( 9813):        at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)\r\nE/AndroidRuntime( 9813):        at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:483)\r\nE/AndroidRuntime( 9813):        at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:1005)\r\nE/AndroidRuntime( 9813):        at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:608)\r\nE/AndroidRuntime( 9813):        at android.app.Activity.performCreate(Activity.java:5995)\r\nE/AndroidRuntime( 9813):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)\r\nE/AndroidRuntime( 9813):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2312)\r\nE/AndroidRuntime( 9813):        ... 10 more\r\nW/ActivityManager( 2771):   Force finishing activity 1 com.android.settings/.Settings$InputMethodAndLanguageSettingsActivity\r\nW/ActivityManager( 2771):   Force finishing activity 2 com.android.settings/.SubSettings"}}