hive
hive copied to clipboard
Safari Failed to execute 'transaction'
Steps to Reproduce Running an app with Hive (thanks btw, great!) gives this error when running the web-version in Safari, not in Firefox and Chrome:
"Unhandled Promise Rejection: NotFoundError: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found."
This was also reported in #812 But that was only closed because the submitter removed Hive.
Code sample
var box = await Hive.openBox('abc');
box.put('abc', 'cde');
and run the web-version in Safari
Version
- Platform: Web, Safari
- Flutter version: 2.5.3
- Hive version: hive: ^2.0.4 and hive_flutter: ^1.1.0
We're tracking this with Sentry and we've also seen this on Chrome and Edge. EDIT: further details on this, we're using ferry with hive as cache and apparently there's an issue that there is a memory leak. Maybe it's related(?)
This pops-up in dart 3.10.0, please fix it! especially this happens firebase hosting release of flutter web.
This pops-up in dart 3.10.0, please fix it! especially this happens firebase hosting release of flutter web.
Same here. The message is InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
Same here with chromium Version 114.0.5735.198 (Official Build) built on Debian 11.7, running on Debian 11.7 (64-bit) and chrome Version 114.0.5735.198 (Official Build) (64-bit)
Experiencing the same problem here
Any reaction or updates? Experiencing the same problem
#https://github.com/famedly/matrix-dart-sdk/issues/1533
Any update?
Any update on this?
I have this same problem and it makes my whole App unusable... Any news on that? Do i have to migrate away from Hive?
Having the same problem, seems to only occur on iOS in my case 🤔
Uhm... seems hive won't give anymore support for web?