java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 130#213984011
    via GitHub by yenon
    ,
  • GitHub comment 89#251290375
    via GitHub by michaelkourlas
    ,
  • When I try to open Settings → Security application crashes. I use Redmi Note 3 Special Edition («kate»). Log follows: {noformat} 10-28 15:29:42.584 5541 5541 D SubSettings: Launching fragment com.android.settings.SecuritySettings 10-28 15:29:42.636 5541 5541 D AndroidRuntime: Shutting down VM 10-28 15:29:42.638 5541 5541 E AndroidRuntime: FATAL EXCEPTION: main 10-28 15:29:42.638 5541 5541 E AndroidRuntime: Process: com.android.settings, PID: 5541 10-28 15:29:42.638 5541 5541 E AndroidRuntime: Theme: themes:{} 10-28 15:29:42.638 5541 5541 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings$SecuritySubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'in t android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3168) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2515) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: 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 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.security.KeyStore.isHardwareBacked(KeyStore.java:381) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.security.KeyStore.isHardwareBacked(KeyStore.java:376) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:463) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at com.android.settings.SecuritySettings.onResume(SecuritySettings.java:743) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.Fragment.performResume(Fragment.java:2263) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1008) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1130) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1963) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.FragmentController.dispatchResume(FragmentController.java:174) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6348) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126) 10-28 15:29:42.638 5541 5541 E AndroidRuntime: ... 10 more 10-28 15:29:42.640 1135 3493 W ActivityManager: Force finishing activity com.android.settings/.SubSettings$SecuritySubSettings 10-28 15:29:42.643 1135 3493 W ActivityManager: Force finishing activity com.android.settings/.Settings {noformat}
    via by Serge,
    • java.lang.RuntimeException: Unable to resume activity {de.qabel.qabel/de.qabel.qabelbox.activities.MainActivity}: de.qabel.core.repository.exception.PersistenceException: query failed android.database.sqlite.SQLiteException: no such table: chat_share (code 1): , while compiling: SELECT cdm.id AS cdm_id, cdm.contact_id AS cdm_contact_id, cdm.identity_id AS cdm_identity_id, cdm.direction AS cdm_direction, cdm.status AS cdm_status, cdm.payload_type AS cdm_payload_type, cdm.payload AS cdm_payload, cdm.created_on AS cdm_created_on, cdm.share_id AS cdm_share_id, cs.id AS cs_id, cs.owner_contact_id AS cs_owner_contact_id, cs.identity_id AS cs_identity_id, cs.status AS cs_status, cs.name AS cs_name, cs.size AS cs_size, cs.meta_key AS cs_meta_key, cs.meta_url AS cs_meta_url, cs.hash_type AS cs_hash_type, cs.hash AS cs_hash, cs.prefix AS cs_prefix, cs.modified_on AS cs_modified_on, cs.key AS cs_key, cs.block AS cs_block FROM chat_drop_message cdm LEFT JOIN chat_share cs ON cs.id=cdm.share_id WHERE cdm.identity_id=? AND cdm.status=?) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3168) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2515)

    Users with the same issue

    filipebatistafilipebatista
    1 times, last one,
    SacchiSacchi
    123 times, last one,
    Hiren AmaliyarHiren Amaliyar
    285 times, last one,
    Agócs TamásAgócs Tamás
    1 times, last one,
    ReichReich
    63 times, last one,
    69 more bugmates