-
Notifications
You must be signed in to change notification settings - Fork 407
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. Please open an issue on GitHub. #624
Comments
I got this exact same error, I use hive when starting my app and when receiving a new notification. Here is the error when starting the app:
And here is the error when starting from new notifications:
Any update on this? Seems like a very critical bug since it basically turns the DB unusable. |
I found out , If you dispose page when hive storing data into box , The box is corrupted and this cause I got white screen. |
Hey @tazik561 thanks for the update, just to be sure I got it right, when you say dispose page, you mean closing a box? Or you mean removing some data from the DB or something else? |
Look, I save into db in initstate. Imagine I have 2 page A and B . In B initstate method I save data in hive.When I transmit from A to B, immediately I press back button to return into page A. Means I don't let to hive to persist data completely and I think data is corrupted. |
I'm trying to reproduce this in a consistent way but without success.. I will upload here the .hive file from my broken DB to see if this can help the devs find out the issue: I love this library, but for now, I will try to find an alternative, I cannot afford to have randomly a broken DB and lose all the data in it. |
I'm facing this error along with couple of other issues when integrating FCM with Hive. I tried to save message.data into Hive in And after played around with the notification this error occurred and Hive stop working, I have to re-install the app. @sezaru , have you found any alternative db like Hive to use? Any recommendation ? |
@EternalYouth29 Indeed I have, I'm using https://pub.dev/packages/objectbox as an alternative, didn't have any problem with it so far. |
@sezaru thanks a lot for the info. |
does it support web ? |
In my application I used Hive .After release application , Some user faced with gray screen after a few days working with my application. I finally catch the error :
In the main method I initialized hive :
This is my DBModule:
In login page I called again
to add some box according some user condition .
The application is working but why after a few days , Application is started with gray page and this error?
The text was updated successfully, but these errors were encountered: