Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error computing account balance #180

Open
pnemonic78 opened this issue Aug 1, 2024 · 0 comments
Open

Error computing account balance #180

pnemonic78 opened this issue Aug 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pnemonic78
Copy link
Collaborator

08:57:14.806  E  Error computing account balance
                 java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/user/0/org.gnucash.pocket.pnemonic.devel/databases/df4bb92fc6134504babf3b96ad8d8394
                 	at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:58)
                 	at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1556)
                 	at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1432)
                 	at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1600)
                 	at org.gnucash.android.db.adapter.DatabaseAdapter.getAccountCurrencyCode(DatabaseAdapter.java:606)
                 	at org.gnucash.android.db.adapter.AccountsDbAdapter.computeBalance(AccountsDbAdapter.java:855)
                 	at org.gnucash.android.db.adapter.AccountsDbAdapter.getAccountBalance(AccountsDbAdapter.java:805)
                 	at org.gnucash.android.ui.util.AccountBalanceTask.doInBackground(AccountBalanceTask.java:57)
                 	at org.gnucash.android.ui.util.AccountBalanceTask.doInBackground(AccountBalanceTask.java:36)
                 	at android.os.AsyncTask$3.call(AsyncTask.java:394)
                 	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
                 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
                 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                 	at java.lang.Thread.run(Thread.java:1012)

@djbrown djbrown added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants