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

IllegalArgumentException: CreationExtras must have a value by SAVED_STATE_REGISTRY_OWNER_KEY #4959

Open
sentry-io bot opened this issue Apr 1, 2023 · 1 comment
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 1, 2023

Sentry Issue: OPENFOODFACTS-ANDROID-67R

IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY`
    at androidx.lifecycle.SavedStateHandleSupport.createSavedStateHandle(SavedStateHandleSupport.kt:91)
    at androidx.lifecycle.AbstractSavedStateViewModelFactory.create(AbstractSavedStateViewModelFactory.kt:90)
    at dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.create(HiltViewModelFactory.java:114)
    at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:187)
    at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:153)
...
(31 additional frame(s) were not displayed)
@github-actions github-actions bot added the sentry label Apr 1, 2023
@Chandra-Sekhar-Bala
Copy link

Any solution regarding this issue @teolemon. As per docs, I changed if (isFlavors(AppFlavor.OFF) to
if (isFlavors(AppFlavor.OBF) in MainActivity, still the same. I'd like to work on this, also could suggest any solution or refer to something to get started with this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant