[Moto Z ROMs, Kernels, Recoveries, & Other Developm] faxedhead:
crash opening power menu

Installed the latest build (June 16), working real nice so far. Came across reproducible crash trying to access the power settings menu. XDA won't let me attach a file, so call stack posted here, sorry.

Steps to reproduce: Open settings -> search box -> "restart" -> tap "restart menu" result -> crash.

(I believe this is a regression since the last build.)

07-03 18:36:18.645 569-592/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only

07-03 18:36:18.646 569-592/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]

07-03 18:36:18.647 569-592/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 0]

Failed to apply optimization [4, 0]

Failed to apply optimization [2, 0]

--------- beginning of system

07-03 18:36:18.753 2419-5364/system_process I/ActivityManager: START u0 {act=org.lineageos.lineageparts.parts.power_menu cmp=org.lineageos.lineageparts/.PartsActivity (has extras)} from uid 1000

07-03 18:36:18.919 26787-26787/org.lineageos.lineageparts D/PartsActivity: Launched with: Intent { act=org.lineageos.lineageparts.parts.power_menu cmp=org.lineageos.lineageparts/.PartsActivity (has extras) } action: org.lineageos.lineageparts.parts.power_menu component: org.lineageos.lineageparts.PartsActivity part: power_menu fragment: null

07-03 18:36:18.920 26787-26787/org.lineageos.lineageparts D/AndroidRuntime: Shutting down VM

--------- beginning of crash

07-03 18:36:18.921 26787-26787/org.lineageos.lineageparts E/AndroidRuntime: FATAL EXCEPTION: main

Process: org.lineageos.lineageparts, PID: 26787

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity}: android.app.Fragment$InstantiationException: Unable to instantiate fragment org.lineageos.lineageparts.input.PowerMenuActions: make sure class name exists, is public, and has an empty constructor that is public

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2779)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2857)

at android.app.ActivityThread.-wrap11(Unknown Source:0)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)

at android.os.Handler.dispatchMessage(Handler.java:106)

at android.os.Looper.loop(Looper.java:164)

at android.app.ActivityThread.main(ActivityThread.java:6499)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment org.lineageos.lineageparts.input.PowerMenuActions: make sure class name exists, is public, and has an empty constructor that is public

at android.app.Fragment.instantiate(Fragment.java:527)

at android.app.Fragment.instantiate(Fragment.java:491)

at org.lineageos.lineageparts.PartsActivity.switchToFragment(PartsActivity.java:207)

at org.lineageos.lineageparts.PartsActivity.onCreate(PartsActivity.java:116)

at android.app.Activity.performCreate(Activity.java:7054)

at android.app.Activity.performCreate(Activity.java:7045)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2857)*

at android.app.ActivityThread.-wrap11(Unknown Source:0)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)*

at android.os.Handler.dispatchMessage(Handler.java:106)*

at android.os.Looper.loop(Looper.java:164)*

at android.app.ActivityThread.main(ActivityThread.java:6499)*

at java.lang.reflect.Method.invoke(Native Method)*

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)*

Caused by: java.lang.ClassNotFoundException: Didn't find class "org.lineageos.lineageparts.input.PowerMenuActions" on path: DexPathList[[zip file "/system/priv-app/LineageParts/LineageParts.apk"],nativeLibraryDirectories=[/system/priv-app/LineageParts/lib/arm64, /system/priv-app/LineageParts/LineageParts.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)

at java.lang.ClassLoader.loadClass(ClassLoader.java:379)

at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

at android.app.Fragment.instantiate(Fragment.java:513)

at android.app.Fragment.instantiate(Fragment.java:491)*

at org.lineageos.lineageparts.PartsActivity.switchToFragment(PartsActivity.java:207)*

at org.lineageos.lineageparts.PartsActivity.onCreate(PartsActivity.java:116)*

at android.app.Activity.performCreate(Activity.java:7054)*

at android.app.Activity.performCreate(Activity.java:7045)*

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)*

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)*

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2857)*

at android.app.ActivityThread.-wrap11(Unknown Source:0)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)*

at android.os.Handler.dispatchMessage(Handler.java:106)*

at android.os.Looper.loop(Looper.java:164)*

at android.app.ActivityThread.main(ActivityThread.java:6499)*

at java.lang.reflect.Method.invoke(Native Method)*

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)*

07-03 18:36:18.925 2419-7134/system_process W/ActivityManager: Force finishing activity org.lineageos.lineageparts/.PartsActivity

07-03 18:36:18.928 2419-7134/system_process W/ActivityManager: Force finishing activity com.android.settings/.search.SearchActivity

07-03 18:36:18.931 2419-7134/system_process W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:966 com.android.server.am.AppErrors.crashApplicationInner:393 com.android.server.am.AppErrors.crashApplication:321 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:14559 com.android.server.am.ActivityManagerService.handleApplicationCrash:14541

07-03 18:36:18.933 2419-2474/system_process I/ActivityManager: Showing crash dialog for package org.lineageos.lineageparts u0

07-03 18:36:18.955 4892-26887/com.google.android.gms I/AsyncOpDispatcher: com.google.android.gms.security__nonwearable-SnetDropBoxIntentOperation

07-03 18:36:18.961 26709-26733/com.android.settings D/OpenGLRenderer: endAllActiveAnimators on 0x721972e800 (RippleDrawable) with handle 0x7214818ee0

07-03 18:36:18.991 2419-5063/system_process I/OpenGLRenderer: Initialized EGL, version 1.4

07-03 18:36:18.991 2419-5063/system_process D/OpenGLRenderer: Swap behavior 2

07-03 18:36:19.427 2419-2470/system_process W/ActivityManager: Activity pause timeout for ActivityRecord{8a11dd4 u0 org.lineageos.lineageparts/.PartsActivity t18 f}