RushOrm icon indicating copy to clipboard operation
RushOrm copied to clipboard

Application crash during recursive testing and show "android.database.sqlite.SQLiteConstraintException".

Open sunny01gupta opened this issue 8 years ago • 0 comments

android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: rush_com_arkaa_app_patient_io_PatientProfileResponseModel_rush_com_arkaa_app_patient_io_PatientAllergyModel_Allergies.rush_id (code 1555)
    at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
    at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:743)
    at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
    at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
    at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1706)
    at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1635)
    at co.uk.rushorm.android.AndroidRushStatementRunner.runRaw(AndroidRushStatementRunner.java:37)
    at co.uk.rushorm.core.RushCore$13.runRaw(RushCore.java:491)
    at co.uk.rushorm.core.implementation.ReflectionUpgradeManager.moveRows(ReflectionUpgradeManager.java:284)
    at co.uk.rushorm.core.implementation.ReflectionUpgradeManager.upgrade(ReflectionUpgradeManager.java:122)
    at co.uk.rushorm.core.RushCore.upgrade(RushCore.java:481)
    at co.uk.rushorm.core.RushCore.access$300(RushCore.java:39)
    at co.uk.rushorm.core.RushCore$1.run(RushCore.java:132)

Can you tell me where is the problem? Because my app is working fine but it is crashed during recursive testing.

sunny01gupta avatar Sep 19 '16 07:09 sunny01gupta