Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CorruptionException: Unable to parse preferences proto. #12867

Closed
sentry-io bot opened this issue Nov 5, 2024 · 1 comment · Fixed by #12891
Closed

CorruptionException: Unable to parse preferences proto. #12867

sentry-io bot opened this issue Nov 5, 2024 · 1 comment · Fixed by #12891
Labels
type: crash The worst kind of bug.

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 5, 2024

Sentry Issue: WOOCOMMERCE-ANDROID-G1K

InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
    at androidx.datastore.preferences.protobuf.CodedInputStream$StreamDecoder.readTag(CodedInputStream.java:2107)
    at androidx.datastore.preferences.protobuf.CodedInputStreamReader.getFieldNumber(CodedInputStreamReader.java:82)
    at androidx.datastore.preferences.protobuf.MessageSchema.mergeFromHelper(MessageSchema.java:3913)
    at androidx.datastore.preferences.protobuf.MessageSchema.mergeFrom(MessageSchema.java:3895)
    at androidx.datastore.preferences.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1648)
...
(37 additional frame(s) were not displayed)

CorruptionException: Unable to parse preferences proto.
    at androidx.datastore.preferences.PreferencesMapCompat$Companion.readFrom(PreferencesMapCompat.kt:34)
    at androidx.datastore.preferences.core.PreferencesSerializer.readFrom(PreferencesSerializer.jvm.kt:46)
    at androidx.datastore.core.okio.OkioReadScope.readData$suspendImpl(OkioStorage.kt:180)
    at androidx.datastore.core.okio.OkioReadScope.readData(OkioStorage.kt:0)
    at androidx.datastore.core.StorageConnectionKt$readData$2.invokeSuspend(StorageConnection.kt:74)
...
(30 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

dangermattic commented Nov 5, 2024

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

@atorresveiga atorresveiga added the type: crash The worst kind of bug. label Nov 5, 2024
@ThomazFB ThomazFB linked a pull request Nov 7, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: crash The worst kind of bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants