java.lang.RuntimeException: Unable to start activity ComponentInfo{com.main/com.main.Activity_Main}: android.database.sqlite.SQLiteException: no such table: Categories (code 1): , while compiling: SELECT * FROM Categories WHERE Categories.Id=? LIMIT 1

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 Freewister
, 1 year ago
Unable to start activity ComponentInfo{com.main/com.main.Activity_Main}: android.database.sqlite.SQLiteException: no such table: Categories (code 1): , while compiling: SELECT * FROM Categories WHERE Categories.Id=? LIMIT 1
via Stack Overflow by nktsamba
, 2 years ago
Unable to start activity ComponentInfo{zw.co.pindula.funsa/zw.co.pindula.funsa.util.Category}: android.database.sqlite.SQLiteException: no such table: categories (code 1): , while compiling: SELECT * FROM categories
via blogspot.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{zw.co.pindula.funsa/zw.co.pindula.funsa.util.Category}: android.database.sqlite.SQLiteException: no such table: categories (code 1): , while compiling: SELECT * FROM categories
via GitHub by bfxzyn
, 1 year ago
Unable to start activity ComponentInfo{com.meiyiyou.simpletodo/com.meiyiyou.simpletodo.MainActivity}: android.database.sqlite.SQLiteException: no such table: Item (code 1): , while compiling: SELECT ALL * FROM Item
via Stack Overflow by Paskahlis Anjas Prabowo
, 2 months ago
Unable to start activity ComponentInfo{com.kahl.silir/com.kahl.silir.main.history.MeasurementResultActivity}: android.database.sqlite.SQLiteException: no such table: results (code 1): , while compiling: SELECT count(*) FROM results
via Stack Overflow by Manoj Yadav
, 2 years ago
Unable to start activity ComponentInfo{com.cbsinfosys.FieldWorkMobility/com.cbsinfosys.FieldWorkMobility.AllContacts}: android.database.sqlite.SQLiteException: no such table: DialerSetup (code 1): , while compiling: Select dialerType from DialerSetup where _id=1111
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.main/com.main.Activity_Main}: android.database.sqlite.SQLiteException: no such table: Categories (code 1): , while compiling: SELECT * FROM Categories WHERE Categories.Id=? LIMIT 1
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1163)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1034)
at com.activeandroid.Model.query(Model.java:306)
at com.activeandroid.Model.querySingle(Model.java:332)
at com.activeandroid.Model.load(Model.java:224)
at com.main.Activity_Main.onCreate(Activity_Main.java:59)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
110 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 8 months ago
Once, 4 months ago
111 more bugmates

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