-
Notifications
You must be signed in to change notification settings - Fork 133
Unhandled Exception: Bad state: failed to create store: 10001 Cannot open store: another store is still open using the same path: #433
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
Comments
Modify your code so it ensures only a single instance of a Our examples do this by initializing Feel free to share a code example if you think we can improve the behavior or our code examples of ObjectBox. |
Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue. |
i am also facing same issue in windows application making flutter in object box version 1.6.0 |
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Bad state: failed to create store: 10001 Cannot open store: another store is still open using the same path: "C:\Users\venky\Documents\objectbox" These are the logs |
i tried changing versions from 1.2.0 to 1.6.0 But there is no use |
@venky9885 Are you sure the code that opens the store is only called once? You can use Edit: if opening multiple times is by design, e.g. if using multiple Flutter Engines, then see this related issue: #436 |
Basic info (please complete the following information):
Steps to reproduce
Expected behavior
Store should not be null.
Code
If applicable, add code to help explain your problem.
objectbox: 1.5.0
objectbox_flutter_libs: 1.5.0
Logs, stack traces
Unhandled Exception: Bad state: failed to create store: 10001 Cannot open store: another store is still open using the same path:
The text was updated successfully, but these errors were encountered: