org.gnucash.android.importer.ImportAsyncTask

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.gnucash.android.importer.ImportAsyncTask: FOREIGN KEY constraint failed (code 787) 10:11:47.569 E/CrashlyticsCore: Crashlytics must be initialized by calling Fabric.with(Context) prior to logging messages. 10:11:47.569 E/CrashlyticsCore: Crashlytics must be initialized by calling Fabric.with(Context) prior to logging exceptions. 10:11:47.570 W/System.err: android.database.sqlite.SQLiteConstraintException: FOREIGN KEY constraint failed (code 787) 10:11:47.606 W/System.err: at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method) 10:11:47.606 W/System.err: at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:559) 10:11:47.606 W/System.err: at android.database.sqlite.SQLiteSession.execute(SQLiteSession.java:619) 10:11:47.606 W/System.err: at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:44) 10:11:47.606 W/System.err: at org.gnucash.android.db.adapter.DatabaseAdapter.doAddModels(DatabaseAdapter.java:260) at org.gnucash.android.db.adapter.DatabaseAdapter.bulkAddRecords(DatabaseAdapter.java:298) at org.gnucash.android.db.adapter.TransactionsDbAdapter.bulkAddRecords(TransactionsDbAdapter.java:160) at org.gnucash.android.importer.GncXmlHandler.saveToDatabase(GncXmlHandler.java:1000) at org.gnucash.android.importer.GncXmlHandler.endDocument(GncXmlHandler.java:967) at org.apache.harmony.xml.ExpatParser.endDocument(ExpatParser.java:532) at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:476) at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:316) at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:279) at org.gnucash.android.importer.GncXmlImporter.parse(GncXmlImporter.java:69) at org.gnucash.android.importer.ImportAsyncTask.doInBackground(ImportAsyncTask.java:85) at org.gnucash.android.importer.ImportAsyncTask.doInBackground(ImportAsyncTask.java:49) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)
No Bugmate found.