[ONE Original Android Development] raja_mastana:
Settings > Sound and notification > App notifications

"Unfortunately, Settings has stopped"

11-08 22:11:11.498 D/AndroidRuntime(26542): Shutting down VM
11-08 22:11:11.502 E/AndroidRuntime(26542): FATAL EXCEPTION: main
11-08 22:11:11.502 E/AndroidRuntime(26542): Process: com.android.settings, PID: 26542
11-08 22:11:11.502 E/AndroidRuntime(26542): java.lang.RuntimeException: Unable to stop activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Handler.removeMessages(int)' on a null object reference
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3528)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3578)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.ActivityThread.-wrap20(ActivityThread.java)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.os.Handler.dispatchMessage(Handler.java:102)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.os.Looper.loop(Looper.java:148)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.ActivityThread.main(ActivityThread.java:5450)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at java.lang.reflect.Method.invoke(Native Method)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-08 22:11:11.502 E/AndroidRuntime(26542): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Handler.removeMessages(int)' on a null object reference
11-08 22:11:11.502 E/AndroidRuntime(26542):	at com.android.settings.notification.IncreasingRingVolumePreference.postStopSample(IncreasingRingVolumePreference.java:213)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at com.android.settings.notification.IncreasingRingVolumePreference.onActivityStop(IncreasingRingVolumePreference.java:90)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.preference.PreferenceManager.dispatchActivityStop(PreferenceManager.java:667)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.preference.PreferenceFragment.onStop(PreferenceFragment.java:211)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at com.android.settings.SettingsPreferenceFragment.onStop(SettingsPreferenceFragment.java:166)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.Fragment.performStop(Fragment.java:2394)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1036)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1159)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1141)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.FragmentManagerImpl.dispatchStop(FragmentManager.java:1982)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.FragmentController.dispatchStop(FragmentController.java:196)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.Activity.performStop(Activity.java:6377)
11-08 22:11:11.502 E/AndroidRuntime(26542):	at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3525)
11-08 22:11:11.502 E/AndroidRuntime(26542):	... 9 more
11-08 22:11:11.504 W/ActivityManager(723): Force finishing activity com.android.settings/.SubSettings