com.android.server.pm.ComputerEngine#mResolveActivity
com.android.server.pm.ComputerEngine#mResolveActivity
com.android.server.pm.PackageManagerService#mAndroidApplication
com.android.server.pm.PackageManagerService#mCustomResolverComponentName
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.android.server.pm.ComputerEngine.getActivityInfoInternalBody(ComputerEngine.java:894)
at com.android.server.pm.ComputerEngine.getActivityInfoInternal(ComputerEngine.java:887)
at com.android.server.pm.ComputerEngine.getActivityInfo(ComputerEngine.java:867)
at com.android.server.pm.ComputerEngine.findPreferredActivityBody(ComputerEngine.java:3411)
at com.android.server.pm.ComputerEngine.findPreferredActivityInternal(ComputerEngine.java:3552)
at com.android.server.pm.ComputerEngine.getHomeActivitiesAsUser(ComputerEngine.java:1222)
at com.android.server.pm.IPackageManagerBase.getHomeActivities(IPackageManagerBase.java:445)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2877)
at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:5980)
at android.os.Binder.execTransactInternal(Binder.java:1280)
at android.os.Binder.execTransact(Binder.java:1244)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.android.systemui.shared.system.PackageManagerWrapper.getHomeActivities(PackageManagerWrapper.java:67)
at com.android.systemui.assist.PhoneStateMonitor.getCurrentDefaultHome(PhoneStateMonitor.java:125)
at com.android.systemui.assist.PhoneStateMonitor.<init>(PhoneStateMonitor.java:87)
at com.android.systemui.assist.PhoneStateMonitor_Factory.newInstance(PhoneStateMonitor_Factory.java:65)
at com.android.systemui.assist.PhoneStateMonitor_Factory.get(PhoneStateMonitor_Factory.java:50)
at com.android.systemui.assist.PhoneStateMonitor_Factory.get(PhoneStateMonitor_Factory.java:16)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at com.android.systemui.assist.AssistManager_Factory.get(AssistManager_Factory.java:84)
at com.android.systemui.assist.AssistManager_Factory.get(AssistManager_Factory.java:21)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at dagger.internal.DelegateFactory.get(DelegateFactory.java:36)
at com.android.systemui.statusbar.phone.CentralSurfacesCommandQueueCallbacks_Factory.get(CentralSurfacesCommandQueueCallbacks_Factory.java:156)
at com.android.systemui.statusbar.phone.CentralSurfacesCommandQueueCallbacks_Factory.get(CentralSurfacesCommandQueueCallbacks_Factory.java:33)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$CentralSurfacesComponentImpl.getCentralSurfacesCommandQueueCallbac
at com.android.systemui.statusbar.phone.CentralSurfacesImpl.inflateStatusBarWindow(CentralSurfacesImpl.java:1618)
at com.android.systemui.statusbar.phone.CentralSurfacesImpl.makeStatusBarView(CentralSurfacesImpl.java:1201)
at com.android.systemui.statusbar.phone.CentralSurfacesImpl.createAndAddWindows(CentralSurfacesImpl.java:2320)
at com.android.systemui.statusbar.phone.CentralSurfacesImpl.start(CentralSurfacesImpl.java:946)
at com.android.systemui.SystemUIApplication.startStartable(SystemUIApplication.java:348)
at com.android.systemui.SystemUIApplication.startStartable(SystemUIApplication.java:339)
at com.android.systemui.SystemUIApplication.lambda$startServicesIfNeeded$0(SystemUIApplication.java:259)
at com.android.systemui.SystemUIApplication.$r8$lambda$pt6oxwKYJNOsdTRRgkl96N87nEY(Unknown Source:0)
at com.android.systemui.SystemUIApplication$$ExternalSyntheticLambda1.run(Unknown Source:8)
at com.android.systemui.SystemUIApplication.timeInitialization(SystemUIApplication.java:301)
at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:257)
at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:206)
at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:70)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4485)
at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2160)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7918)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.android.server.pm.PackageManagerService.rebuildSnapshot(PackageManagerService.java:1121)
at com.android.server.pm.PackageManagerService.snapshotComputer(PackageManagerService.java:1109)
at com.android.server.pm.PackageManagerInternalBase.snapshot(PackageManagerInternalBase.java:95)
at com.android.server.pm.PackageManagerInternalBase.getPackage(PackageManagerInternalBase.java:151)
at com.android.server.pm.UserSystemPackageInstaller.getPackagesWhitelistWarnings(UserSystemPackageInstaller.java:355)
at com.android.server.pm.UserSystemPackageInstaller.checkWhitelistedSystemPackages(UserSystemPackageInstaller.java:301)
at com.android.server.pm.UserSystemPackageInstaller.installWhitelistedSystemPackages(UserSystemPackageInstaller.java:203)
at com.android.server.pm.UserManagerService.installWhitelistedSystemPackages(UserManagerService.java:4357)
at com.android.server.pm.PackageManagerService.installAllowlistedSystemPackages(PackageManagerService.java:1548)
at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1537)
at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:1231)
at com.android.server.SystemServer.run(SystemServer.java:935)
at com.android.server.SystemServer.main(SystemServer.java:647)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:914)
private final SnapshotCache<WatchedArrayMap<String, AndroidPackage>> mPackagesSnapshot =
new SnapshotCache.Auto(mPackages, mPackages, "PackageManagerService.mPackages");