java.lang.RuntimeException

Unable to get provider com.android.providers.telephony.TelephonyProvider: android.database.sqlite.SQLiteException: duplicate column name: wait_time (code 1): , while compiling: ALTER TABLE carriers ADD COLUMN wait_time INTEGER DEFAULT 0;

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web48298

  • Unable to get provider com.android.providers.telephony.TelephonyProvider: android.database.sqlite.SQLiteException: duplicate column name: wait_time (code 1): , while compiling: ALTER TABLE carriers ADD COLUMN wait_time INTEGER DEFAULT 0;
  • 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 phil-lopreiato
    , 1 year ago
    Unable to start activity ComponentInfo{com.thebluealliance.androidclient/com.thebluealliance.androidclient.activities.LaunchActivity}: android.database.sqlite.SQLiteException: duplicate column name: name (code 1): , while compiling: ALTER TABLE districts ADD COLUMN name TEXT DEFAULT ''
  • Stack trace

    • java.lang.RuntimeException: Unable to get provider com.android.providers.telephony.TelephonyProvider: android.database.sqlite.SQLiteException: duplicate column name: wait_time (code 1): , while compiling: ALTER TABLE carriers ADD COLUMN wait_time INTEGER DEFAULT 0; at android.app.ActivityThread.installProvider(ActivityThread.java:5246) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4838) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4778) at android.app.ActivityThread.access$1600(ActivityThread.java:157) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5527) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) Caused by: android.database.sqlite.SQLiteException: duplicate column name: wait_time (code 1): , while compiling: ALTER TABLE carriers ADD COLUMN wait_time INTEGER DEFAULT 0; at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:893) at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:504) at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:726) at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58) at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31) at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1784) at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1715) at com.android.providers.telephony.TelephonyProvider$DatabaseHelper.onUpgrade(TelephonyProvider.java:1351) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:256) at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187) at com.android.providers.telephony.TelephonyProvider.onCreate(TelephonyProvider.java:2481) at android.content.ContentProvider.attachInfo(ContentProvider.java:1748) at android.content.ContentProvider.attachInfo(ContentProvider.java:1723) at android.app.ActivityThread.installProvider(ActivityThread.java:5243) ... 10 more

    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

    14 times, 3 weeks ago
    27 times, 4 months ago
    Once, 4 months ago
    3 times, 6 months ago
    Unknown user
    Once, 10 months ago
    112 more bugmates