java.lang.RuntimeException

Unable to create application ru.softinvent.myapp.MyApp: android.database.sqlite.SQLiteException: duplicate column name: cancelled (code 1)

Solutions on the web44041

  • Unable to create application ru.softinvent.myapp.MyApp: android.database.sqlite.SQLiteException: duplicate column name: cancelled (code 1)
  • Unable to create application org.wordpress.android.WordPress: android.database.sqlite.SQLiteException: duplicate column name: blogId (code 1): , while compiling: alter table accounts add blogId integer;
  • via GitHub by dschuermann
    , 11 months ago
    Unable to create application org.sufficientlysecure.keychain.KeychainApplication: android.database.sqlite.SQLiteException: duplicate column name: name (code 1): , while compiling: ALTER TABLE user_packets ADD COLUMN name TEXT
  • Stack trace

    • java.lang.RuntimeException: Unable to create application ru.softinvent.myapp.MyApp: android.database.sqlite.SQLiteException: duplicate column name: cancelled (code 1) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4556) at android.app.ActivityThread.access$1500(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: android.database.sqlite.SQLiteException: duplicate column name: cancelled (code 1) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734) 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:1676) at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1605) at com.birbit.android.jobqueue.persistentQueue.sqlite.DbOpenHelper.addCancelColumn(DbOpenHelper.java:84) at com.birbit.android.jobqueue.persistentQueue.sqlite.DbOpenHelper.onUpgrade(DbOpenHelper.java:72) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:256) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163) at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.<init>(SqliteJobQueue.java:49) at com.birbit.android.jobqueue.DefaultQueueFactory.createPersistentQueue(DefaultQueueFactory.java:27) at com.birbit.android.jobqueue.JobManagerThread.<init>(JobManagerThread.java:85) at com.birbit.android.jobqueue.JobManager.<init>(JobManager.java:62) at ru.softinvent.myapp.MyApp.initJobQueue(MyApp.java:248) at ru.softinvent.myapp.MyApp.onCreate(MyApp.java:144) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 1 year ago
    14 times, 3 weeks ago
    27 times, 4 months ago
    Once, 4 months ago
    3 times, 6 months ago
    25 more bugmates