GnuCash-Pocket / gnucash-android

GnuCash Pocket – a mobile companion app for Gnucash desktop application (https://github.com/Gnucash/gnucash). Developed independently of GnuCash.
Apache License 2.0
87 stars 17 forks source link

Error computing account balance #180

Open pnemonic78 opened 3 months ago

pnemonic78 commented 3 months ago
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)