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 Code : 787 (SQLITE_CONSTRAINT_FOEIGNKEY) #447

Open
pavlejoksovicesteh opened this issue Jun 18, 2018 · 0 comments
Open

Error Code : 787 (SQLITE_CONSTRAINT_FOEIGNKEY) #447

pavlejoksovicesteh opened this issue Jun 18, 2018 · 0 comments

Comments

@pavlejoksovicesteh
Copy link

I see this error often on crashlytics. Can somebody help me identify what the problem could be?

Fatal Exception: android.database.sqlite.SQLiteConstraintException: FOREIGN KEY constraint failed (code 787)
#################################################################
Error Code : 787 (SQLITE_CONSTRAINT_FOEIGNKEY)
Caused By : Abort due to constraint violation.
	(FOREIGN KEY constraint failed (code 787))
#################################################################
       at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(SQLiteConnection.java)
       at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:989)
       at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
       at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
       at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:144)
       at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
       at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197)
       at android.database.AbstractCursor.moveToNext(AbstractCursor.java:245)
       at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.nextJobAndIncRunCount(SqliteJobQueue.java:297)
       at com.birbit.android.jobqueue.cachedQueue.CachedJobQueue.nextJobAndIncRunCount(CachedJobQueue.java:79)
       at com.birbit.android.jobqueue.JobManagerThread.getNextJob(JobManagerThread.java:665)
       at com.birbit.android.jobqueue.JobManagerThread.getNextJob(JobManagerThread.java:642)
       at com.birbit.android.jobqueue.ConsumerManager.handleIdle(ConsumerManager.java:199)
       at com.birbit.android.jobqueue.JobManagerThread$1.handleMessage(JobManagerThread.java:231)
       at com.birbit.android.jobqueue.messaging.PriorityMessageQueue.consume(PriorityMessageQueue.java:39)
       at com.birbit.android.jobqueue.JobManagerThread.run(JobManagerThread.java:222)
       at java.lang.Thread.run(Thread.java:818)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant