You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cspensky I'm having this problem too, and yes, I'm using isolates callbacks to access Hive, more specifically the FirebaseBackgroundMessageHandler
EDIT: For anyone with this issue, this comment help me to get a workaround #676 (comment), seems like Hive cannot be use to share data between Isolates. Also, special characters in box names looks like can corrupt the boxes
E/flutter ( 7765): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: HiveError: This should not happen. Please open an issue on GitHub.
E/flutter ( 7765): #0 BinaryReaderImpl.readFrame (package:hive/src/binary/binary_reader_impl.dart:250:7)
E/flutter ( 7765): #1 FrameHelper.framesFromBytes (package:hive/src/binary/frame_helper.dart:21:26)
E/flutter ( 7765): #2 FrameIoHelper.framesFromFile (package:hive/src/io/frame_io_helper.dart:42:12)
E/flutter ( 7765):
E/flutter ( 7765): #3 StorageBackendVm.initialize (package:hive/src/backend/vm/storage_backend_vm.dart:86:11)
E/flutter ( 7765):
E/flutter ( 7765): #4 HiveImpl._openBox (package:hive/src/hive_impl.dart:116:9)
E/flutter ( 7765):
E/flutter ( 7765): #5 HiveImpl.openBox (package:hive/src/hive_impl.dart:145:12)
E/flutter ( 7765):
E/flutter ( 7765): #6 main (package:miracle/main.dart:146:3)
E/flutter ( 7765):
E/flutter ( 7765):
The text was updated successfully, but these errors were encountered: