java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.MiuiSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String[] android.security.IKeystoreService.list(java.lang.String, int)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.access$1000(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String[] android.security.IKeystoreService.list(java.lang.String, int)' on a null object reference
at android.security.KeyStore.list(KeyStore.java)
at android.security.KeyStore.list(KeyStore.java)
at com.android.settings.vpn2.VpnManager.wR(VpnManager.java)
at com.android.settings.MiuiSettings.m(MiuiSettings.java)
at com.android.settings.BasePreferenceFragment.aq(BasePreferenceFragment.java)
at com.android.settings.BasePreferenceFragment.ao(BasePreferenceFragment.java)
at com.android.settings.SettingsFragment.ao(SettingsFragment.java)
at com.android.settings.BasePreferenceFragment.onViewCreated(BasePreferenceFragment.java)
at com.android.settings.SettingsFragment.onViewCreated(SettingsFragment.java)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)
at android.app.BackStackRecord.run(BackStackRecord.java)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java)
at android.app.FragmentController.execPendingActions(FragmentController.java)
at android.app.Activity.performStart(Activity.java)
... 10 more