java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference

JIRA | Vinay V | 1 year ago
  1. 0

    Unable to open security options in settings. java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3019) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3050) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2425) at android.app.ActivityThread.access$900(ActivityThread.java:154) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5294) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference at android.security.KeyStore.isHardwareBacked(KeyStore.java:318) at android.security.KeyStore.isHardwareBacked(KeyStore.java:313) at com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:262) at com.android.settings.SecuritySettings.onResume(SecuritySettings.java:486) at android.app.Fragment.performResume(Fragment.java:2096) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:928) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049) at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1879) at android.app.Activity.performResume(Activity.java:6086) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3008) ... 11 more

    JIRA | 1 year ago | Vinay V
    java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
  2. 0

    Unable to open security options in settings. java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3019) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3050) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2425) at android.app.ActivityThread.access$900(ActivityThread.java:154) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5294) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference at android.security.KeyStore.isHardwareBacked(KeyStore.java:318) at android.security.KeyStore.isHardwareBacked(KeyStore.java:313) at com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:262) at com.android.settings.SecuritySettings.onResume(SecuritySettings.java:486) at android.app.Fragment.performResume(Fragment.java:2096) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:928) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049) at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1879) at android.app.Activity.performResume(Activity.java:6086) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3008) ... 11 more

    JIRA | 1 year ago | Vinay V
    java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
  3. 0

    [ROM][STOCK][5.1] Stock Lollipop Flashable Z… - Pg. 11 | Moto X

    xda-developers.com | 11 months ago
    java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unofficial CyanogenMod 12 for LG L70 D320 D320n D325 | Page 74 | Android Forums

    androidforums.com | 8 months ago
    java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
  6. 0

    [RC-FAQ]>> CM12 Frequently Asked Quest… - Pg. 67 | Moto G

    xda-developers.com | 11 months ago
    java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference

      at android.security.KeyStore.isHardwareBacked()
    2. Android Platform
      KeyStore.isHardwareBacked
      1. android.security.KeyStore.isHardwareBacked(KeyStore.java:318)
      2. android.security.KeyStore.isHardwareBacked(KeyStore.java:313)
      2 frames
    3. com.android.settings
      SecuritySettings.onResume
      1. com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:262)
      2. com.android.settings.SecuritySettings.onResume(SecuritySettings.java:486)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performResume(Fragment.java:2096)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:928)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      4. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)
      5. android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1879)
      6. android.app.Activity.performResume(Activity.java:6086)
      7. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3008)
      8. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3050)
      9. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2425)
      10. android.app.ActivityThread.access$900(ActivityThread.java:154)
      11. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
      12. android.os.Handler.dispatchMessage(Handler.java:102)
      13. android.os.Looper.loop(Looper.java:135)
      14. android.app.ActivityThread.main(ActivityThread.java:5294)
      14 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames