objectbox-java: io.objectbox.exception.DbException: Corrupt DB, min key size violated: 0

Fatal Exception: io.objectbox.exception.DbException: Corrupt DB, min key size violated: 0
       at io.objectbox.query.Query.nativeFind(Query.java)
       at io.objectbox.query.Query$4.call + 255(Query.java:255)
       at io.objectbox.query.Query$4.call + 252(Query.java:252)
       at io.objectbox.BoxStore.callInReadTx + 675(BoxStore.java:675)
       at io.objectbox.BoxStore.callInReadTxWithRetry + 620(BoxStore.java:620)
       at io.objectbox.query.Query.callInReadTx + 304(Query.java:304)
       at io.objectbox.query.Query.find + 252(Query.java:252)
       at com.mygate.gaurdapp.database.objectBox.MygateMongoDB.keepOnlyLimitedNetworkRecords + 104(MygateMongoDB.java:104)
       at com.mygate.gaurdapp.fcm.SendUpstreamService.addApiLatency + 303(SendUpstreamService.java:303)
       at com.mygate.gaurdapp.fcm.SendUpstreamService.sendUpstramMsg + 576(SendUpstreamService.java:576)
       at com.mygate.gaurdapp.fcm.SendUpstreamService.onHandleIntent + 281(SendUpstreamService.java:281)
       at android.app.IntentService$ServiceHandler.handleMessage + 76(IntentService.java:76)
       at android.os.Handler.dispatchMessage + 106(Handler.java:106)
       at android.os.Looper.loop + 164(Looper.java:164)
       at android.os.HandlerThread.run + 65(HandlerThread.java:65)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Well, it might be the wrong order of my repositories configuration. Never mind. It works now。