[Galaxy Note 10.1 Android Development] zhaoxiting1997:
Settings -> security fc so I can't install third-party app. I use adb logcat to get the log.

10-30 21:54:54.454 7524 7524 E AndroidRuntime: FATAL EXCEPTION: main

10-30 21:54:54.454 7524 7524 E AndroidRuntime: Process: com.android.settings, PID: 7524

10-30 21:54:54.454 7524 7524 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.Settings$SecuritySettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.PersistableBundle.getBoolean(java.lang.String)' on a null object reference

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3454)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3494)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2757)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6186)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.PersistableBundle.getBoolean(java.lang.String)' on a null object reference

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:319)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at com.android.settings.SecuritySettings.onResume(SecuritySettings.java:616)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.Fragment.performResume(Fragment.java:2399)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1153)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2049)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.FragmentController.dispatchResume(FragmentController.java:198)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6809)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3431)

10-30 21:54:54.454 7524 7524 E AndroidRuntime: ... 10 more