State condition failed in table:60
@greenrobot-team ci sta già lavorando.
Dal 10/7/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 4.6k
- Fork
- 311
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di objectbox/objectbox-java
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
objectbox/objectbox-java#1226 · 2 commenti ·
-
documentation enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
objectbox/objectbox-java#1225 · 9 commenti · 1 reazione ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
objectbox/objectbox-java#1223 · 1 commento · 4 reazioni ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
objectbox/objectbox-java#1211 · 1 commento · 3 reazioni ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
objectbox/objectbox-java#1198 · 1 commento ·
Tutte le issue di objectbox/objectbox-java
Issue simili
-
Bug Java Platform: Java
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-java#6138 · 1 commento ·
-
bug needs triage p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 commento ·
-
[LNG prod] Release 2.4.6 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
[Studio][Bug] Bulk-deleting a full page of alert rules steps the page back while more rules remain Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/rocketmq-dashboard#4654 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100