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

Call import fails due to UNIQUE constraint failure #63

Closed
tmo1 opened this issue Oct 9, 2022 · 0 comments
Closed

Call import fails due to UNIQUE constraint failure #63

tmo1 opened this issue Oct 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tmo1
Copy link
Owner

tmo1 commented Oct 9, 2022

Logcat:

2022-10-08 23:34:34.803 1331-1349/com.android.providers.blockednumber E/DatabaseUtils: Error inserting <REDACTED> into table  calls
    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: calls._id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
        at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
        at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:938)
        at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
        at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:88)
        at android.database.DatabaseUtils$InsertHelper.insertInternal(DatabaseUtils.java:1306)
        at android.database.DatabaseUtils$InsertHelper.insert(DatabaseUtils.java:1431)
        at com.android.providers.contacts.DbModifierWithNotification.insert(DbModifierWithNotification.java:123)
        at com.android.providers.contacts.CallLogProvider.insertInternal(CallLogProvider.java:505)
        at com.android.providers.contacts.CallLogProvider.insert(CallLogProvider.java:449)
        at android.content.ContentProvider.insert(ContentProvider.java:1673)
        at android.content.ContentProvider$Transport.insert(ContentProvider.java:336)
        at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:167)
        at android.os.Binder.execTransactInternal(Binder.java:1159)
        at android.os.Binder.execTransact(Binder.java:1123)
@tmo1 tmo1 closed this as completed in 718e8b2 Oct 9, 2022
@tmo1 tmo1 added the bug Something isn't working label Oct 9, 2022
@tmo1 tmo1 self-assigned this Oct 9, 2022
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

1 participant