io.objectbox.exception.DbMaxReadersExceededException
See original GitHub issuejava.lang.RuntimeException: Unable to create application com.XXX.YYYn: io.objectbox.exception.DbMaxReadersExceededException: Could not begin transaction (maximum of read transactions reached) (error code -30790)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5710)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1685)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:185)
at android.app.ActivityThread.main(ActivityThread.java:6493)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:916)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:806)
Caused by: io.objectbox.exception.DbMaxReadersExceededException: Could not begin transaction (maximum of read transactions reached) (error code -30790)
at io.objectbox.BoxStore.nativeCreate(Native Method)
at io.objectbox.BoxStore.<init>(Unknown Source)
at io.objectbox.O00000Oo.O000000o(Unknown Source)
at com.sports.tfs.MyApplication.onCreate(Unknown Source)
at com.tencent.tinker.loader.app.TinkerApplication.onCreate(Unknown Source)
at com.XXX.YYYn.onCreate(Unknown Source)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5707)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1685)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:185)
at android.app.ActivityThread.main(ActivityThread.java:6493)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:916)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:806)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
DbMaxReadersExceededExcepti...
Thrown when the maximum of readers (read transactions) was exceeded. Verify that you run a reasonable amount of threads only.
Read more >objectbox DbMaxReadersExceededException - Stack Overflow
The first thing I'd do is to verify your threading logic. We've seen cases where apps spawned threads without limits and thus breaking...
Read more >Objectbox Dbmaxreadersexceededexception - ADocLib
A reader is short for a thread involved in a read transaction.If you hit io.objectbox.exception.DbMaxReadersExceededException you should first worry about. It ...
Read more >io.objectbox.BoxStoreBuilder.queryAttempts java code examples ...
This can resolve situations in which resources are getting sparse (e.g. io.objectbox.exception.DbMaxReadersExceededException or other variations of ...
Read more >Viewing online file analysis results for 'Droidbooru.apk'
Sync is not available in the loaded ObjectBox runtime library. ... io/objectbox/exception/DbMaxReadersExceededException.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just got chance to try the latest 1.5.0 release and it seems it still has this issue: "
ok, thanks. Then we will just increase this number to 2xx and see how it works.