MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.5k stars 86 forks source link

Crashes upon going to settings after adding a widget #372

Open yant0 opened 1 year ago

yant0 commented 1 year ago

Description

Launcher crashed everytime i open settings, i was trying to add a widget, it worked but now the setting panels crashes. I tried removing the widget and deleting app data but the crash persisted.

Strack trace

java.lang.NullPointerException: Attempt to read from field 'com.android.server.appwidget.AppWidgetServiceImpl$ProviderId com.android.server.appwidget.AppWidgetServiceImpl$Provider.id' on a null object reference
    at android.os.Parcel.createExceptionOrNull(Parcel.java:2379)
    at android.os.Parcel.createException(Parcel.java:2357)
    at android.os.Parcel.readException(Parcel.java:2340)
    at android.os.Parcel.readException(Parcel.java:2282)
    at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.stopListening(IAppWidgetService.java:789)
    at android.appwidget.AppWidgetHost.stopListening(AppWidgetHost.java:257)
    at de.mm20.launcher2.ui.launcher.widgets.WidgetColumnKt$WidgetColumn$1$1.invokeSuspend(WidgetColumn.kt:44)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:99)
    at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:24)
    at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.run(AndroidUiDispatcher.android.kt:3)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:223)
[13 lines truncated]

Device info

APP.VERSION : 1.24.2
APP.VERSIONCODE : 2023042300
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : android
TIMEZONE : Asia/Jakarta
VERSION.RELEASE : 11
VERSION.INCREMENTAL : eng.kvije6.20220928.173228
VERSION.SDK.NUMBER : 30
BOARD : sdm636
BOOTLOADER : unknown
BRAND : asus
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : RQ3A.211001.001
FINGERPRINT : google/raven/raven:13/TP1A.220905.004/8927612:user/release-keys
HARDWARE : qcom
HOST : harshainstance-1
ID : RQ3A.211001.001
MANUFACTURER : asus
MODEL : Zenfone Max Pro M1
PRODUCT : WW_X00T
TAGS : release-keys
TIME : 1664386346000
TYPE : user

exstntlmsnthrp commented 1 year ago

I believe this may be a duplicate and/or related to #371.