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

Hive crash when using hydrated bloc #423

Closed
talmor-guy opened this issue Sep 6, 2020 · 1 comment
Closed

Hive crash when using hydrated bloc #423

talmor-guy opened this issue Sep 6, 2020 · 1 comment
Assignees
Labels
problem An unconfirmed bug.

Comments

@talmor-guy
Copy link

Some users of my app are experiencing a crash when the app starts. The log of the crash is as follows:

2020-08-19 13:26:48.192 32012-32084/? E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: HiveError: This should not happen. Please open an issue on GitHub.
#0 BinaryReaderImpl.readFrame (package:hive/src/binary/binary_reader_impl.dart:249)
#1 FrameHelper.framesFromBytes (package:hive/src/binary/frame_helper.dart:17)
#2 FrameIoHelper.framesFromFile (package:hive/src/io/frame_io_helper.dart:41)
#3 StorageBackendVm.initialize (package:hive/src/backend/vm/storage_backend_vm.dart:82)
#4 HiveImpl._openBox (package:hive/src/hive_impl.dart:90)
#5 HiveImpl.openBox (package:hive/src/hive_impl.dart:111)
#6 HydratedStorage.build. (package:hydrated_bloc/src/hydrated_storage.dart:62)
#7 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:34)
#8 main (package:lumen/main.dart:92)

Android, hydrated_bloc 6.0

@talmor-guy talmor-guy added the problem An unconfirmed bug. label Sep 6, 2020
@themisir
Copy link
Contributor

themisir commented Sep 6, 2020

Duplicate of #263

@themisir themisir marked this as a duplicate of #263 Sep 6, 2020
@themisir themisir closed this as completed Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem An unconfirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants