java.lang.RuntimeException: Unable to start activity ComponentInfo{com.globalsites.lms/com.globalsites.lms.Unsubscribed.UnsubscribedMainActivity}: android.database.sqlite.SQLiteException: no such table: COURTS (code 1): , while compiling: INSERT OR REPLACE INTO COURTS(TYPE,ID,NAME,LOCATION) VALUES (?,?,?,?)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by muoki_D
, 1 year ago
Unable to start activity ComponentInfo{com.globalsites.lms/com.globalsites.lms.Unsubscribed.UnsubscribedMainActivity}: android.database.sqlite.SQLiteException: no such table: COURTS (code 1): , while compiling: INSERT OR REPLACE INTO COURTS(TYPE,ID,NAME,LOCATION) VALUES (?,?,?,?)
via Stack Overflow by Hamsty
, 2 years ago
Unable to start activity ComponentInfo{DeviceListView}: java.lang.NullPointerException
via GitHub by barbeau
, 2 years ago
Unable to start activity ComponentInfo{edu.usf.cutr.opentripplanner.android/edu.usf.cutr.opentripplanner.android.MyActivity}: android.database.sqlite.SQLiteException: no such column: Center (code 1): , while compiling: SELECT ID, DateAdded, Region, BaseURL, Bounds, Language, ContactName, ContactEmail, Center, Zoom FROM Servers WHERE ID = 1
via wordpress.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.prueba.biancamenacho.listviewbd/com.prueba.biancamenacho.listviewbd.MainActivity}: android.database.sqlite.SQLiteException: no such column: texto (code 1): , while compiling: SELECT _id, texto FROM notas
via GitHub by vreixo
, 2 years ago
Unable to start activity ComponentInfo{edu.usf.cutr.opentripplanner.android/edu.usf.cutr.opentripplanner.android.MyActivity}: android.database.sqlite.SQLiteException: no such column: Center (code 1): , while compiling: SELECT ID, DateAdded, Region, BaseURL, Bounds, Language, ContactName, ContactEmail, Center, Zoom FROM Servers WHERE ID = 1
via Stack Overflow by saeed
, 1 year ago
Unable to start activity ComponentInfo{www.project_category.ir.project_category/www.project_category.ir.project_category.MGroupActivity}: android.database.sqlite.SQLiteException: near "Group": syntax error (code 1): , while compiling: DROP TABLE IF EXISTS Group
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.globalsites.lms/com.globalsites.lms.Unsubscribed.UnsubscribedMainActivity}: android.database.sqlite.SQLiteException: no such table: COURTS (code 1): , while compiling: INSERT OR REPLACE INTO COURTS(TYPE,ID,NAME,LOCATION) VALUES (?,?,?,?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:898)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:509)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteStatement.(SQLiteStatement.java:31)
at com.orm.SugarRecord.save(SugarRecord.java:266)
at com.orm.SugarRecord.save(SugarRecord.java:360)
at com.globalsites.lms.Unsubscribed.UnsubscribedMainActivity.onCreate(UnsubscribedMainActivity.java:102)
at android.app.Activity.performCreate(Activity.java:6155)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
57 times, 5 months ago
40 times, 1 month ago
347 times, 1 month ago
2 times, 1 month ago
110 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.