State condition failed in table:60
@greenrobot-team đang làm issue này rồi.
Từ ngày 10/7/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
When querying a collection you get the error:
State condition failed in table:60
The problem occurs when the paging limit is greater than 1. When the paging limit is 1 it has no problem.
Basic info (please complete the following information):
- ObjectBox version: 2.9.1
- Reproducibility: always on a single computer (database), on other computers (databases) it does not happen
- Device: Computer
- OS: Windows 10
To Reproduce
I don't know how reproduce it
Expected behavior
Find results
Code
private List<GenericBox> getPagination(Query<GenericBox> b, ParamsDao params) {
if (params.getLimit() > 0) {
return b.find(params.getIndex(), params.getLimit());
}
return b.find();
}
Logs, stack traces
Caused by: java.lang.IllegalStateException: State condition failed in table:60: object
at io.objectbox.query.Query.nativeFind(Native Method)
at io.objectbox.query.Query.lambda$find$3(Query.java:230)
at io.objectbox.BoxStore.callInReadTx(BoxStore.java:897)
at io.objectbox.BoxStore.callInReadTxWithRetry(BoxStore.java:843)
at io.objectbox.query.Query.callInReadTx(Query.java:292)
at io.objectbox.query.Query.find(Query.java:229)
Additional context
We have had to rebuild the entire database to fix the problem, but we are concerned about it happening again.
- Ngôn ngữ chính
- Java
- Star
- 4.6k
- Fork
- 311
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của objectbox/objectbox-java
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
objectbox/objectbox-java#1226 · 2 bình luận ·
-
documentation enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
objectbox/objectbox-java#1225 · 9 bình luận · 1 reaction ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
objectbox/objectbox-java#1223 · 1 bình luận · 4 reaction ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
objectbox/objectbox-java#1211 · 1 bình luận · 3 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
objectbox/objectbox-java#1198 · 1 bình luận ·
Tất cả issue của objectbox/objectbox-java
Issue tương tự
-
Bug Java Platform: Java
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-java#6138 · 1 bình luận ·
-
bug needs triage p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 bình luận ·
-
[Studio][Bug] Bulk-deleting a full page of alert rules steps the page back while more rules remain Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/rocketmq-dashboard#4654 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100