java.lang.RuntimeException: Failed to boot service com.android.server.backup.BackupManagerService$Lifecycle: onBootPhase threw an exception during phase 500

JIRA | clayton craft | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    09-05 12:38:06.940 8961 8961 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.gesture.key: open failed: ENOENT (No such file or directory) 09-05 12:38:06.940 8961 8961 I SystemServiceManager: Starting phase 480 09-05 12:38:06.960 8961 8961 I SystemServiceManager: Starting phase 500 09-05 12:38:06.961 8961 8961 D BluetoothService: onBootPhase: PHASE_SYSTEM_SERVICES_READY 09-05 12:38:06.961 8961 8961 D BluetoothManagerService: Bluetooth boot completed 09-05 12:38:06.963 8961 8961 I WifiService: WifiService starting up with Wi-Fi enabled 09-05 12:38:06.965 8961 8961 D WifiService: setWifiEnabled: true pid=8961, uid=1000 09-05 12:38:06.965 8961 8961 E WifiService: Invoking mWifiStateMachine.setWifiEnabled 09-05 12:38:06.966 8961 9190 D WifiController: WifiController msg { when=-1ms what=155656 target=com.android.internal.util.StateMachine$SmHandler } deferred for 499ms 09-05 12:38:06.971 8961 8961 I WifiScanningService: Registering wifiscanner 09-05 12:38:06.974 8961 8961 I RttService: Registering rttmanager 09-05 12:38:06.976 8961 8961 I EthernetServiceImpl: Starting Ethernet service 09-05 12:38:06.980 8961 8961 D Ethernet: Registering NetworkFactory 09-05 12:38:06.980 8961 9194 D ConnectivityService: Got NetworkFactory Messenger for Ethernet 09-05 12:38:06.982 8961 9219 D Ethernet: got request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0 09-05 12:38:06.987 8961 8961 D ZenLog : set_ringer_mode_internal: AudioService.setRingerModeDelegate,i:normal->normal,e:normal->silent 09-05 12:38:07.040 8961 8961 V KeyValueBackupJob: Scheduling k/v pass in 241 minutes 09-05 12:38:07.040 8961 8961 E System : ****************************************** 09-05 12:38:07.041 8961 8961 E System : ************ Failure starting system services 09-05 12:38:07.041 8961 8961 E System : java.lang.RuntimeException: Failed to boot service com.android.server.backup.BackupManagerService$Lifecycle: onBootPhase threw an exception during phase 500 09-05 12:38:07.041 8961 8961 E System : at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:137) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:1095) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.SystemServer.run(SystemServer.java:291) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.SystemServer.main(SystemServer.java:176) 09-05 12:38:07.041 8961 8961 E System : at java.lang.reflect.Method.invoke(Native Method) 09-05 12:38:07.041 8961 8961 E System : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 09-05 12:38:07.041 8961 8961 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 09-05 12:38:07.041 8961 8961 E System : Caused by: java.lang.IllegalArgumentException: No such service ComponentInfo{android/com.android.server.backup.KeyValueBackupJob} 09-05 12:38:07.041 8961 8961 E System : at com.android.server.job.JobSchedulerService$JobSchedulerStub.enforceValidJobRequest(JobSchedulerService.java:786) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.job.JobSchedulerService$JobSchedulerStub.schedule(JobSchedulerService.java:831) 09-05 12:38:07.041 8961 8961 E System : at android.app.JobSchedulerImpl.schedule(JobSchedulerImpl.java:42) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.KeyValueBackupJob.schedule(KeyValueBackupJob.java:76) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.KeyValueBackupJob.schedule(KeyValueBackupJob.java:57) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.BackupManagerService.dataChangedImpl(BackupManagerService.java:8466) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.BackupManagerService.dataChangedImpl(BackupManagerService.java:8435) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.BackupManagerService.addPackageParticipantsLockedInner(BackupManagerService.java:2058) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.BackupManagerService.addPackageParticipantsLocked(BackupManagerService.java:2035) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.BackupManagerService.<init>(BackupManagerService.java:1086) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.Trampoline.initialize(Trampoline.java:74) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.backup.BackupManagerService$Lifecycle.onBootPhase(BackupManagerService.java:345) 09-05 12:38:07.041 8961 8961 E System : at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:135) 09-05 12:38:07.041 8961 8961 E System : ... 6 more 09-05 12:38:07.041 8961 8961 D AndroidRuntime: Shutting down VM 09-05 12:38:07.041 8961 8961 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main 09-05 12:38:07.041 8961 8961 E AndroidRuntime: java.lang.RuntimeException: Failed to boot service com.android.server.backup.BackupManagerService$Lifecycle: onBootPhase threw an exception during phase 500 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:137) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:1095) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:291) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: No such service ComponentInfo{android/com.android.server.backup.KeyValueBackupJob} 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.job.JobSchedulerService$JobSchedulerStub.enforceValidJobRequest(JobSchedulerService.java:786) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.job.JobSchedulerService$JobSchedulerStub.schedule(JobSchedulerService.java:831) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at android.app.JobSchedulerImpl.schedule(JobSchedulerImpl.java:42) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.KeyValueBackupJob.schedule(KeyValueBackupJob.java:76) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.KeyValueBackupJob.schedule(KeyValueBackupJob.java:57) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.BackupManagerService.dataChangedImpl(BackupManagerService.java:8466) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.BackupManagerService.dataChangedImpl(BackupManagerService.java:8435) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.BackupManagerService.addPackageParticipantsLockedInner(BackupManagerService.java:2058) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.BackupManagerService.addPackageParticipantsLocked(BackupManagerService.java:2035) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.BackupManagerService.<init>(BackupManagerService.java:1086) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.Trampoline.initialize(Trampoline.java:74) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.backup.BackupManagerService$Lifecycle.onBootPhase(BackupManagerService.java:345) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:135) 09-05 12:38:07.041 8961 8961 E AndroidRuntime: ... 6 more

    JIRA | 6 months ago | clayton craft
    java.lang.RuntimeException: Failed to boot service com.android.server.backup.BackupManagerService$Lifecycle: onBootPhase threw an exception during phase 500
  2. 0

    bootloop on v86 & CM-13 (Victara)

    GitHub | 6 months ago | craftyguy
    java.lang.RuntimeException: Failed to boot service com.android.server.backup.BackupManagerService$Lifecycle: onBootPhase threw an exception during phase 500
  3. 0

    Unable to boot device after rebooting from crash while attempting backup

    GitHub | 5 months ago | craftyguy
    java.lang.RuntimeException: Failed to boot service com.android.server.backup.BackupManagerService$Lifecycle: onBootPhase threw an exception during phase 500
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. rp 1 times, last 1 year ago

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No such service ComponentInfo{android/com.android.server.backup.KeyValueBackupJob}

    at com.android.server.job.JobSchedulerService$JobSchedulerStub.enforceValidJobRequest()
  2. Android
    JobSchedulerService$JobSchedulerStub.schedule
    1. com.android.server.job.JobSchedulerService$JobSchedulerStub.enforceValidJobRequest(JobSchedulerService.java:786)
    2. com.android.server.job.JobSchedulerService$JobSchedulerStub.schedule(JobSchedulerService.java:831)
    2 frames
  3. Android Platform
    JobSchedulerImpl.schedule
    1. android.app.JobSchedulerImpl.schedule(JobSchedulerImpl.java:42)
    1 frame
  4. Android
    SystemServer.main
    1. com.android.server.backup.KeyValueBackupJob.schedule(KeyValueBackupJob.java:76)
    2. com.android.server.backup.KeyValueBackupJob.schedule(KeyValueBackupJob.java:57)
    3. com.android.server.backup.BackupManagerService.dataChangedImpl(BackupManagerService.java:8466)
    4. com.android.server.backup.BackupManagerService.dataChangedImpl(BackupManagerService.java:8435)
    5. com.android.server.backup.BackupManagerService.addPackageParticipantsLockedInner(BackupManagerService.java:2058)
    6. com.android.server.backup.BackupManagerService.addPackageParticipantsLocked(BackupManagerService.java:2035)
    7. com.android.server.backup.BackupManagerService.<init>(BackupManagerService.java:1086)
    8. com.android.server.backup.Trampoline.initialize(Trampoline.java:74)
    9. com.android.server.backup.BackupManagerService$Lifecycle.onBootPhase(BackupManagerService.java:345)
    10. com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:135)
    11. com.android.server.SystemServer.startOtherServices(SystemServer.java:1095)
    12. com.android.server.SystemServer.run(SystemServer.java:291)
    13. com.android.server.SystemServer.main(SystemServer.java:176)
    13 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames