MM2-0 / Kvaesitso

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

Crash in favorites ordering page #909

Closed AntonioJZ closed 4 months ago

AntonioJZ commented 4 months ago

Description

When rearranging icons in the favorites page (Not pinned) the app crashed. Now it crashes every time it wants to show the icons in the main page. I can still access the settings from the application info page. Using the latest version (1.31.1)

Strack trace

org.json.JSONException: No value for color
    at org.json.JSONObject.get(JSONObject.java:398)
    at org.json.JSONObject.getInt(JSONObject.java:487)
    at de.mm20.launcher2.websites.WebsiteDeserializer.deserialize(WebsiteSerialization.kt:89)
    at de.mm20.launcher2.searchable.SavableSearchableRepositoryImpl.access$fromDatabaseEntity(SavableSearchableRepository.kt:151)
    at de.mm20.launcher2.searchable.SavableSearchableRepositoryImpl$get$$inlined$map$1$2.emit(Emitters.kt:111)
    at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:5)
    at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:17)
    at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:1)
    at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:129)
    at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(Channels.kt:12)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:111)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
[8 lines truncated]

Device info

APP.VERSION : 1.31.1
APP.VERSIONCODE : 2024070100
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : android
TIMEZONE : America/Bogota
VERSION.RELEASE : 13
VERSION.INCREMENTAL : eng.compil.20240115.183113
VERSION.SDK.NUMBER : 33
BOARD : bengal
BOOTLOADER : unknown
BRAND : vivo
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : TP1A.220624.014 release-keys
FINGERPRINT : vivo/2036E/2036:13/TP1A.220624.014/compiler01151831:user/release-keys
HARDWARE : qcom
HOST : comsz01110016
ID : TP1A.220624.014
MANUFACTURER : vivo
MODEL : V2035
PRODUCT : 2036E
TAGS : release-keys
TIME : 1705314673000
TYPE : user