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 local db error #248

Closed
guyluz11 opened this issue Nov 1, 2022 · 1 comment
Closed

Hive local db error #248

guyluz11 opened this issue Nov 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@guyluz11
Copy link
Member

guyluz11 commented Nov 1, 2022

2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]:22:33:20.966 (+0:00:00.225169)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: │ ⛔ Local DB hive error while getting rooms: HiveError: Cannot read, unknown typeId: 35. Did you forget to register an adapter?
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: Unhandled exception:
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: HiveError: Cannot read, unknown typeId: 35. Did you forget to register an adapter?
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #0      BinaryReaderImpl.read (package:hive/src/binary/binary_reader_impl.dart:325)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #1      BinaryReaderImpl.readFrame (package:hive/src/binary/binary_reader_impl.dart:276)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #2      FrameHelper.framesFromBytes (package:hive/src/binary/frame_helper.dart:21)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #3      FrameIoHelper.framesFromFile (package:hive/src/io/frame_io_helper.dart:42)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: <asynchronous suspension>
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #4      StorageBackendVm.initialize (package:hive/src/backend/vm/storage_backend_vm.dart:86)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: <asynchronous suspension>
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #5      HiveImpl._openBox (package:hive/src/hive_impl.dart:111)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: <asynchronous suspension>
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #6      HiveImpl.openBox (package:hive/src/hive_impl.dart:142)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: <asynchronous suspension>
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: #7      HiveRepository.getRoomsFromDb (package:cbj_hub/infrastructure/local_db/local_db_hive_repository.dart:188)
2022-11-01T22:33:20+02:00 cbj-hub.cbj-hub[21316]: <asynchronous suspension>
2022-11-01T22:33:21+02:00 systemd[1]: snap.cbj-hub.cbj-hub.service: Main process exited, code=exited, status=255/EXCEPTION
2022-11-01T22:33:21+02:00 systemd[1]: snap.cbj-hub.cbj-hub.service: Failed with result 'exit-code'.
2022-11-01T22:33:21+02:00 systemd[1]: snap.cbj-hub.cbj-hub.service: Scheduled restart job, restart counter is at 1.
2022-11-01T22:33:21+02:00 systemd[1]: Stopped Service for snap application cbj-hub.cbj-hub.
2022-11-01T22:33:21+02:00 systemd[1]: Started Service for snap application cbj-hub.cbj-hub.
@guyluz11 guyluz11 added the bug Something isn't working label Nov 1, 2022
@guyluz11
Copy link
Member Author

guyluz11 commented Nov 9, 2022

I think it got fixed with some changes that I did.

Closing it.

@guyluz11 guyluz11 closed this as completed Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant