-
Notifications
You must be signed in to change notification settings - Fork 403
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
HiveError: This should not happen #883
Comments
We are having the same problem, it's blocking our android users from opening our application. Details Device: Physical Pixel 6
|
I just saw that this issue has already been reported (#872); sorry for not noticing this. Nonetheless, I will leave this open to indicate that the issue persists on later versions of flutter/hive. Unless, of course, a moderator decides that it's save to close this as a duplicate. |
On app start, the following error is thrown in the readFrame method of the BinaryReadImpl class:
during:
Hive is loaded and a box is opened in main. I also have a background activity (handled by the workmanager package) that also loads hive and opens the same box. Usually the background activity is triggered on app start and I was getting the error for each of the 2 calls. I assumed that opening the box twice may be the problem, but after removing the background activity call, the issue persisted. Restarting the emulator didn't work too, but reinstalling the app completely fixed things.
Today I encountered this problem for the first time and I cannot pinpoint what I could have done to cause this.
Details
The text was updated successfully, but these errors were encountered: