Device Information
- Device: HEADWOLF Hpad5 (
tb8781p1_64)
- OS Version: Project Matrixx Android 16
- Type: GSI (Generic System Image)
Describe the Bug
A reproducible crash occurs immediately when attempting to open the "Quick Settings" panel configuration within the Matrixx settings.
The crash is caused by a NullPointerException at QuickSettings.onCreate when the system attempts to invoke removePreference() on a null PreferenceGroup reference. This is likely due to missing device-specific preferences in the GSI environment.
Steps to Reproduce
- Open Settings.
- Navigate to the Matrixx-specific customization menu.
- Tap on Quick Settings (QS Panel configuration).
- The Settings app crashes instantly.
Logcat / Stacktrace
time: 1780475532861
device fp: HEADWOLF/Hpad5/Hpad5:14/UP1A.231005.007/1711094180:user/release-keys
product board: tb8781p1_64
matrixx vers: 16.0
msg: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$MatrixxQuickSettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean androidx.preference.PreferenceGroup.removePreference(androidx.preference.Preference)' on a null object reference
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$MatrixxQuickSettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean androidx.preference.PreferenceGroup.removePreference(androidx.preference.Preference)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4702)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4899)
...
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean androidx.preference.PreferenceGroup.removePreference(androidx.preference.Preference)' on a null object reference
at com.matrixx.settings.fragments.QuickSettings.onCreate(QuickSettings.java:3046)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:3281)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:2088)
...
Device Information
tb8781p1_64)Describe the Bug
A reproducible crash occurs immediately when attempting to open the "Quick Settings" panel configuration within the Matrixx settings.
The crash is caused by a
NullPointerExceptionatQuickSettings.onCreatewhen the system attempts to invokeremovePreference()on a nullPreferenceGroupreference. This is likely due to missing device-specific preferences in the GSI environment.Steps to Reproduce
Logcat / Stacktrace