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

GitHub | z0idberg | 4 months ago
  1. 0

    App crashes on first launch after update from 2.0.0-beta2 to 2.0.0

    GitHub | 4 months ago | z0idberg
    java.lang.RuntimeException: Unable to create application ru.softinvent.myapp.MyApp: android.database.sqlite.SQLiteException: duplicate column name: cancelled (code 1)
  2. 0

    Rename a column in a table

    GitHub | 1 year ago | devilmac
    java.lang.RuntimeException: android.database.sqlite.SQLiteException: not an error (code 0)
  3. 0

    Android sqlLite create table

    Stack Overflow | 4 years ago | Victor Kiricheiko
    java.lang.RuntimeException: Unable to create application com.activeandroid.app.Application: android.database.sqlite.SQLiteException: duplicate column name: id: CREATE TABLE IF NOT EXISTS Quote (Id INTEGER PRIMARY KEY AUTOINCREMENT, author TEXT, id INTEGER, text TEXT);
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.database.sqlite.SQLiteException: duplicate column name: bookmark (code 1): , while compiling: ALTER TABLE draft_messages ADD COLUMN bookmark VARCHAR

    GitHub | 3 years ago | 2fast2fourier
    android.database.sqlite.SQLiteException: duplicate column name: bookmark (code 1): , while compiling: ALTER TABLE draft_messages ADD COLUMN bookmark VARCHAR
  6. 0

    Crash report 2.9.1: SQLiteException in WordPressDB.<init>

    GitHub | 2 years ago | maxme
    java.lang.RuntimeException: 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;
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.database.sqlite.SQLiteException

    duplicate column name: cancelled (code 1)

    at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount()
  2. Android Platform
    SQLiteDatabase.execSQL
    1. android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
    2. android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:734)
    3. android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
    4. android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
    5. android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1676)
    6. android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1605)
    6 frames
  3. com.birbit.android
    DbOpenHelper.onUpgrade
    1. com.birbit.android.jobqueue.persistentQueue.sqlite.DbOpenHelper.addCancelColumn(DbOpenHelper.java:84)
    2. com.birbit.android.jobqueue.persistentQueue.sqlite.DbOpenHelper.onUpgrade(DbOpenHelper.java:72)
    2 frames
  4. Android Platform
    SQLiteOpenHelper.getWritableDatabase
    1. android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:256)
    2. android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
    2 frames
  5. com.birbit.android
    JobManager.<init>
    1. com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.<init>(SqliteJobQueue.java:49)
    2. com.birbit.android.jobqueue.DefaultQueueFactory.createPersistentQueue(DefaultQueueFactory.java:27)
    3. com.birbit.android.jobqueue.JobManagerThread.<init>(JobManagerThread.java:85)
    4. com.birbit.android.jobqueue.JobManager.<init>(JobManager.java:62)
    4 frames
  6. ru.softinvent.myapp
    MyApp.onCreate
    1. ru.softinvent.myapp.MyApp.initJobQueue(MyApp.java:248)
    2. ru.softinvent.myapp.MyApp.onCreate(MyApp.java:144)
    2 frames
  7. Android Platform
    Instrumentation.callApplicationOnCreate
    1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
    1 frame