isar / isar/hive

Stuck at "Got object store"

Open
#1,024 8 comments 5 reactions 0 assignees View on GitHub
problem
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

**Steps to Reproduce**
Recently I've been noticing Hive gets stuck at for example `Got object store box in database box_settings.`
This doesn't always happen, but enough to be noticed.
No other error messages are shown. After this message, nothing happens anymore, no other logs from the app. Since our app waits for the settings box, the entire app is stuck.
What fixes it is deleting the offending box in the browser's dev tools.

But obviously this is not a solution for non-dev customers using the website.
Is there anything I can do to fix/work around this?

**Version**
- Platform: Web
- Flutter version: 3.0.4
- Hive version: 2.2.3 (Hive Flutter 1.1.0)

```
Loading app from service worker.
js_primitives.dart:47 Flutter Web Bootstrap: Auto
js_helper.dart:1852 [Violation] 'setTimeout' handler took 50ms
js_primitives.dart:47 Got object store box in database box_credentials.
js_helper.dart:1852 [Violation] 'requestAnimationFrame' handler took 86ms
js_helper.dart:1852 [Violation] 'requestAnimationFrame' handler took 69ms
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.