Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

SystemUI crashing on MM with Xposed v83+ #38

Open
rovo89 opened this issue May 8, 2016 · 0 comments
Open

SystemUI crashing on MM with Xposed v83+ #38

rovo89 opened this issue May 8, 2016 · 0 comments
Labels

Comments

@rovo89
Copy link
Owner

rovo89 commented May 8, 2016

05-05 12:42:37.215  1609  1609 W art     : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/XposedBridge.jar --instruction-set=arm --instruction-set-features=smp,-div,-atomic_ldrd_strd --runtime-arg -Xnorelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=krait --instruction-set-features=default --dex-file=/system/priv-app/SystemUI/oat/arm/SystemUI.odex --oat-file=/data/dalvik-cache/arm/system@priv-app@[email protected]@classes.dex) because non-0 exit status
05-05 12:42:37.216  1609  1609 W art     : Falling back to interpreting /system/priv-app/SystemUI/oat/arm/SystemUI.odex
05-05 12:42:37.218  1609  1609 W System  : ClassLoader referenced unknown path: /system/priv-app/SystemUI/lib/arm
05-05 12:42:37.228  1633  1633 D ExternalStorage: After updating volumes, found 1 active roots
05-05 12:42:37.242  1609  1609 V SystemUIService: Starting SystemUI services.
05-05 12:42:37.435  1623  1623 D MtpService: starting MTP server in MTP mode
05-05 12:42:37.476   199  1579 E OMXMaster: A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
05-05 12:42:37.667  1609  1609 D AndroidRuntime: Shutting down VM
--------- beginning of crash
05-05 12:42:37.683  1609  1609 E AndroidRuntime: FATAL EXCEPTION: main
05-05 12:42:37.683  1609  1609 E AndroidRuntime: Process: com.android.systemui, PID: 1609
05-05 12:42:37.683  1609  1609 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #66: Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.widget.ImageView.getBackground()' on a null object reference
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.app.ActivityThread.handleCreateService(ActivityThread.java:2887)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.app.ActivityThread.-wrap4(ActivityThread.java)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1427)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5417)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
05-05 12:42:37.683  1609  1609 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #66: Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.widget.ImageView.getBackground()' on a null object reference
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:738)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.view.LayoutInflater.inflate(<Xposed>)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.systemui.recents.Recents.reloadHeaderBarLayout(Recents.java:575)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.systemui.recents.Recents.start(Recents.java:260)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:126)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:31)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.app.ActivityThread.handleCreateService(ActivityThread.java:2877)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    ... 9 more
05-05 12:42:37.683  1609  1609 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.widget.ImageView.getBackground()' on a null object reference
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at com.android.systemui.recents.views.TaskViewHeader.onFinishInflate(TaskViewHeader.java:138)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.view.LayoutInflater.rInflate(LayoutInflater.java:844)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
05-05 12:42:37.683  1609  1609 E AndroidRuntime:    ... 18 more

Full logcats:
http://forum.xda-developers.com/showpost.php?p=66710837&postcount=2914 (without any modules)
http://forum.xda-developers.com/showpost.php?p=66750152&postcount=2941

The ImageView object which is null is retrieved via findViewById(R.id.application_icon).

@rovo89 rovo89 added the bug label May 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant