[Android General] ymg2006:
i'm getting this error marshmallow !

i have removed the space in the statusbar .but you know i added in systemui statusbar_simple ! but i dont think this caused error!

says null object reference on CheckBoxPreference.setOnPreferenceChangeListener which is in NetworkTraffic ... how to fix or what i got wrong ???

--------- beginning of crash

06-02 18:55:04.484 7817 7817 E AndroidRuntime: FATAL EXCEPTION: main

06-02 18:55:04.484 7817 7817 E AndroidRuntime: Process: com.android.settings, PID: 7817

06-02 18:55:04.484 7817 7817 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.CheckBoxPreference.setOnPreferenceChangeListener(android.preference.Preference$OnPreferenceChangeListener)' on a null object reference

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.ActivityThread.access$900(ActivityThread.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.os.Looper.loop(Looper.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.CheckBoxPreference.setOnPreferenceChangeListener(android.preference.Preference$OnPreferenceChangeListener)' on a null object reference

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at com.android.settings.MiuiStatusBarSettings.onCreate(MiuiStatusBarSettings.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.Fragment.performCreate(Fragment.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.BackStackRecord.run(BackStackRecord.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at com.android.settings.gA.a(SettingsActivity.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at com.android.settings.gA.onCreate(SettingsActivity.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.Activity.performCreate(Activity.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)

06-02 18:55:04.484 7817 7817 E AndroidRuntime:	... 10 more

06-02 18:55:04.487 2494 5431 W ActivityManager: Force finishing activity com.android.settings/.SubSettings

06-02 18:55:04.488 5194 5606 I WhetstoneService: Receive am_crash event for pid: 7817

06-02 18:55:04.488 5194 5606 W KloServer: Aborted broadcast does not supprt for: com.android.settings

06-02 18:55:04.490 2494 5431 W ActivityManager: Force finishing activity com.android.settings/.MainSettings