question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DbException: Could not begin read transaction (another read transaction is still active on this thread)

See original GitHub issue
UncaughtException detected: io.objectbox.exception.DbException: Could not begin read transaction (another read transaction is still active on this thread) (error code -30783)
04-16 11:58:50.880 E/CrashHandler(24876): 	at io.objectbox.BoxStore.nativeBeginReadTx(Native Method)
04-16 11:58:50.880 E/CrashHandler(24876): 	at io.objectbox.BoxStore.beginReadTx(BoxStore.java:350)
04-16 11:58:50.880 E/CrashHandler(24876): 	at io.objectbox.BoxStore.callInReadTx(BoxStore.java:672)
04-16 11:58:50.880 E/CrashHandler(24876): 	at io.objectbox.BoxStore.callInReadTxWithRetry(BoxStore.java:620)
04-16 11:58:50.880 E/CrashHandler(24876): 	at io.objectbox.query.Query.callInReadTx(Query.java:304)
04-16 11:58:50.880 E/CrashHandler(24876): 	at io.objectbox.query.Query.findFirst(Query.java:174)
04-16 11:58:50.880 E/CrashHandler(24876): 	at com.xiaopeng.mycarinfo.core.account.login.model.data.local.UserInfoLocalDataSource.findFirst(UserInfoLocalDataSource.java:60)
04-16 11:58:50.880 E/CrashHandler(24876): 	at com.xiaopeng.mycarinfo.core.account.login.model.UserModel.getUserInfo(UserModel.java:385)
04-16 11:58:50.880 E/CrashHandler(24876): 	at com.xiaopeng.mycarinfo.core.account.login.model.UserModel.getUserId(UserModel.java:634)
04-16 11:58:50.880 E/CrashHandler(24876): 	at com.xiaopeng.mycarinfo.model.nfc.CommunicationClient$1.onServiceConnected(CommunicationClient.java:40)
04-16 11:58:50.880 E/CrashHandler(24876): 	at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1516)
04-16 11:58:50.880 E/CrashHandler(24876): 	at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1544)
04-16 11:58:50.880 E/CrashHandler(24876): 	at android.os.Handler.handleCallback(Handler.java:751)
04-16 11:58:50.880 E/CrashHandler(24876): 	at android.os.Handler.dispatchMessage(Handler.java:95)
04-16 11:58:50.880 E/CrashHandler(24876): 	at android.os.Looper.loop(Looper.java:154)
04-16 11:58:50.880 E/CrashHandler(24876): 	at android.app.ActivityThread.main(ActivityThread.java:6646)
04-16 11:58:50.880 E/CrashHandler(24876): 	at java.lang.reflect.Method.invoke(Native Method)
04-16 11:58:50.880 E/CrashHandler(24876): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
04-16 11:58:50.880 E/CrashHandler(24876): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
04-16 11:58:50.881 I/crash_recorder(24876): CrashDetails:{
04-16 11:58:50.881 I/crash_recorder(24876): io.objectbox.exception.DbException: Could not begin read transaction (another read transaction is still active on this thread) (error code -30783)
04-16 11:58:50.881 I/crash_recorder(24876): 	at io.objectbox.BoxStore.nativeBeginReadTx(Native Method)
04-16 11:58:50.881 I/crash_recorder(24876): 	at io.objectbox.BoxStore.beginReadTx(BoxStore.java:350)
04-16 11:58:50.881 I/crash_recorder(24876): 	at io.objectbox.BoxStore.callInReadTx(BoxStore.java:672)
04-16 11:58:50.881 I/crash_recorder(24876): 	at io.objectbox.BoxStore.callInReadTxWithRetry(BoxStore.java:620)
04-16 11:58:50.881 I/crash_recorder(24876): 	at io.objectbox.query.Query.callInReadTx(Query.java:304)
04-16 11:58:50.881 I/crash_recorder(24876): 	at io.objectbox.query.Query.findFirst(Query.java:174)
04-16 11:58:50.881 I/crash_recorder(24876): 	at com.xiaopeng.mycarinfo.core.account.login.model.data.local.UserInfoLocalDataSource.findFirst(UserInfoLocalDataSource.java:60)
04-16 11:58:50.881 I/crash_recorder(24876): 	at com.xiaopeng.mycarinfo.core.account.login.model.UserModel.getUserInfo(UserModel.java:385)
04-16 11:58:50.881 I/crash_recorder(24876): 	at com.xiaopeng.mycarinfo.core.account.login.model.UserModel.getUserId(UserModel.java:634)
04-16 11:58:50.881 I/crash_recorder(24876): 	at com.xiaopeng.mycarinfo.model.nfc.CommunicationClient$1.onServiceConnected(CommunicationClient.java:40)
04-16 11:58:50.881 I/crash_recorder(24876): 	at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1516)
04-16 11:58:50.881 I/crash_recorder(24876): 	at and

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
linguokun1commented, Apr 19, 2018

@greenrobot Irdeto’s security reinforce include “anti-java-debug” system. In order to prevent the hacker hack the apk by “debug”. (Many software reverse engineer in China) The bug occurs in this “anti-java-debug” mode. They fix it by modify their code of “anti-java-debug” mode.

1reaction
linguokun1commented, Apr 18, 2018

@greenrobot We resolve it. It’s Irdeto’s bug

Read more comments on GitHub >

github_iconTop Results From Across the Web

objectbox DbMaxReadersExceededException - Stack Overflow
Two weeks after release, we started getting errors in Sentry: Could not begin read transaction (maximum of read transactions reached) How to ...
Read more >
DbMaxReadersExceededExcepti...
public class DbMaxReadersExceededException extends DbException. Thrown when the maximum of readers (read transactions) was exceeded.
Read more >
Transaction Example - Oracle Help Center
// Open the database openDb(&dbp, progName, fileName, envp, DB_DUPSORT);. Now we create our threads. In this example we are using pthreads for our...
Read more >
Viewing online file analysis results for 'Droidbooru.apk'
Get your own cloud service or the full version to view all details. ... Cannot close store yet: TX #%u is still active...
Read more >
io.objectbox.BoxStore.closeThreadResources java ... - Tabnine
Call this method from a thread that is about to be shutdown or likely not to use ObjectBox anymore: it frees ... Multiple...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found