WordPress-Android
WordPress-Android copied to clipboard
IllegalStateException: Cannot perform this operation because there is no current transaction.
Sentry Issue: JETPACK-ANDROID-H0P
IllegalStateException: Cannot perform this operation because there is no current transaction.
at android.database.sqlite.SQLiteSession.throwIfNoTransaction(SQLiteSession.java:937)
at android.database.sqlite.SQLiteSession.endTransaction(SQLiteSession.java:400)
at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:990)
at org.wordpress.android.datasets.NotificationsTable.saveNotes(NotificationsTable.java:141)
at org.wordpress.android.ui.notifications.services.NotificationsUpdateLogic$RestListener.onResponse(NotificationsUpdateLogic.java:77)
...
(12 additional frame(s) were not displayed)
I think it is related to race condition because we have multiple tabs which might access the database at the same time.