MM2-0 / Kvaesitso

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

Crash when opening integrations-page in settings #630

Open chefexperte opened 12 months ago

chefexperte commented 12 months ago

Description

Please provide as many information about the crash as possible (What did you do before the crash happened? Steps to reproduce?)

Strack trace

com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
    at com.google.crypto.tink.shaded.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:20)
    at com.google.crypto.tink.shaded.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:11)
    at com.google.crypto.tink.proto.Keyset.parseFrom(Keyset.java:6)
    at com.google.crypto.tink.integration.android.SharedPrefKeysetReader.read(SharedPrefKeysetReader.java:9)
    at com.google.crypto.tink.CleartextKeysetHandle.read(CleartextKeysetHandle.java:1)
    at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.read(AndroidKeysetManager.java:30)
    at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.readOrGenerateNewKeyset(AndroidKeysetManager.java:1)
    at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.build(AndroidKeysetManager.java:12)
    at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:48)
    at de.mm20.launcher2.owncloud.OwncloudClient.createPreferences(OwncloudClient.kt:21)
    at de.mm20.launcher2.owncloud.OwncloudClient.createPreferences(OwncloudClient.kt:44)
    at de.mm20.launcher2.owncloud.OwncloudClient$preferences$2.invoke(OwncloudClient.kt:4)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:21)
    at de.mm20.launcher2.owncloud.OwncloudClient.getPreferences(OwncloudClient.kt:3)
[18 lines truncated]

Device info

APP.VERSION : 1.28.0
APP.VERSIONCODE : 2023101300
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : de.mm20.launcher2.release
TIMEZONE : Europe/Berlin
VERSION.RELEASE : 14
VERSION.INCREMENTAL : 2023111500
VERSION.SDK.NUMBER : 34
BOARD : panther
BOOTLOADER : cloudripper-14.0-10529422
BRAND : google
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : UP1A.231105.003.2023111500
FINGERPRINT : google/panther/panther:14/UP1A.231105.003/2023111500:user/release-keys
HARDWARE : panther
HOST : grapheneos
ID : UP1A.231105.003
MANUFACTURER : Google
MODEL : Pixel 7
PRODUCT : panther
TAGS : release-keys
TIME : 1700085706000
TYPE : user

Ke1i commented 10 months ago

Same here. It started happening after adding my self hosted owncloud instance (oCIS). After being prompted for the login details when I supplied the owncloud server address in the integrations page, Kvaesitso crashed. Now it keeps crashing when I open the integrations page inside settings.

Strack trace

org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
    at org.json.JSON.typeMismatch(JSON.java:112)
    at org.json.JSONObject.<init>(JSONObject.java:169)
    at org.json.JSONObject.<init>(JSONObject.java:182)
    at de.mm20.launcher2.owncloud.OwncloudClient$getDisplayName$2.invokeSuspend(OwncloudClient.kt:14)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:112)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:4)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:96)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@f03e242, Dispatchers.Main.immediate]

Device info

APP.VERSION : 1.28.0
APP.VERSIONCODE : 2023101300
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : android
TIMEZONE : Africa/Nairobi
VERSION.RELEASE : 11
VERSION.INCREMENTAL : eng.emy.20240108.024004
VERSION.SDK.NUMBER : 30
BOARD : MSM8974
BOOTLOADER : 3.19.0.0000
BRAND : htc
CPU_ABI : armeabi-v7a
CPU_ABI2 : armeabi
DISPLAY : RQ3A.211001.001
FINGERPRINT : htc/HTCOneM8vzw/htc_m8wl:6.0/MRA58K/708002.3:user/release-keys
HARDWARE : qcom
HOST : dosbm
ID : RQ3A.211001.001
MANUFACTURER : HTC
MODEL : m8wl
PRODUCT : lineage_m8
TAGS : release-keys
TIME : 1704699581000
TYPE : user