android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: certificates.coreid (code 2067) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1472) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1343) --

GitHub | bobobo1618 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 274#234845489

    GitHub | 7 months ago | bobobo1618
    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: certificates.coreid (code 2067) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1472) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1343) --

    Root Cause Analysis

    1. android.database.sqlite.SQLiteConstraintException

      UNIQUE constraint failed: certificates.coreid (code 2067) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1472) 07-24 22:21:55.883 854 854 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1343) --

      at com.iskrembilen.quasseldroid.gui.LoginActivity$4.onClick()
    2. com.iskrembilen.quasseldroid
      LoginActivity$4.onClick
      1. com.iskrembilen.quasseldroid.gui.LoginActivity$4.onClick(LoginActivity.java:310)
      1 frame
    3. Android
      AlertController$ButtonHandler.handleMessage
      1. com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:164)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:154)
      3. android.app.ActivityThread.main(ActivityThread.java:6077)
      3 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames