java.lang.RuntimeException

Failed to start service com.android.server.UiModeManagerService: onStart threw an exception

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web47820

  • Failed to start service com.android.server.UiModeManagerService: onStart threw an exception
  • via GitHub by aviraxp
    , 9 months ago
    Failed to start service com.android.server.UiModeManagerService: onStart threw an exception
  • via GitHub by bugmenot2
    , 9 months ago
    Failed to start service com.android.server.UiModeManagerService: onStart threw an exception
  • Stack trace

    • java.lang.RuntimeException: Failed to start service com.android.server.UiModeManagerService: onStart threw an exception at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:115) at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:104) at com.android.server.SystemServer.startOtherServices(SystemServer.java:608) at com.android.server.SystemServer.run(SystemServer.java:276) at com.android.server.SystemServer.main(SystemServer.java:174) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference at android.app.ResourcesManager.applyConfigurationToResourcesLocked(ResourcesManager.java:300) at android.app.ActivityThread.applyConfigurationToResources(ActivityThread.java:4226) at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:17557) at com.android.server.am.ActivityManagerService.updateConfiguration(ActivityManagerService.java:17496) at com.android.server.UiModeManagerService.sendConfigurationLocked(UiModeManagerService.java:396) at com.android.server.UiModeManagerService.onStart(UiModeManagerService.java:193)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago