Skip to content

Unhandled Exception: HiveError: This should not happen. Please open an issue on GitHub. #263

@daibao520

Description

@daibao520

hive version: "1.4.0+1"
This happen when my app crash and restart immediately by android system

E/flutter (32001): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: HiveError: This should not happen. Please open an issue on GitHub.
E/flutter (32001): #0      BinaryReaderImpl.readFrame 
package:hive/…/binary/binary_reader_impl.dart:244
E/flutter (32001): #1      FrameHelper.framesFromBytes 
package:hive/…/binary/frame_helper.dart:15
E/flutter (32001): #2      FrameIoHelper.framesFromFile 
package:hive/…/io/frame_io_helper.dart:36
E/flutter (32001): <asynchronous suspension>
E/flutter (32001): #3      StorageBackendVm.initialize 
package:hive/…/vm/storage_backend_vm.dart:72
E/flutter (32001): <asynchronous suspension>
E/flutter (32001): #4      BoxBaseImpl.initialize 
package:hive/…/box/box_base_impl.dart:82
E/flutter (32001): #5      HiveImpl._openBox 
package:hive/src/hive_impl.dart:85
E/flutter (32001): <asynchronous suspension>
E/flutter (32001): #6      HiveImpl.openBox 
package:hive/src/hive_impl.dart:106
E/flutter (32001): #7      HiveConfigBox.open 
package:liaobei/hive_liaobei/hive_config_box.dart:28
E/flutter (32001): #8      HiveLiaobeiManager.openUserBox 
package:liaobei/hive_liaobei/hive_liaobei_manager.dart:80
E/flutter (32001): <asynchronous suspension>
E/flutter (32001): #9      main 
package:liaobei/main.dart:75
E/flutter (32001): <asynchronous suspension>
E/flutter (32001): #10     _runMainZoned.<anonymous closure>.<anonymous closure>  (dart:ui/hooks.dart:239:25)
E/flutter (32001): #11     _rootRun  (dart:async/zone.dart:1126:13)
E/flutter (32001): #12     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (32001): #13     _runZoned  (dart:async/zone.dart:1518:10)
E/flutter (32001): #14     runZoned  (dart:async/zone.dart:1502:12)
E/flutter (32001): #15     _runMainZoned.<anonymous closure>  (dart:ui/hooks.dart:231:5)
E/flutter (32001): #16     _startIsolate.<anonymous closure>  (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter (32001): #17     _RawReceivePortImpl._handleMessage  (dart:isolate-patch/isolate_patch.dart:174:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions