java.lang.RuntimeException: 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

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 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 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 Akash Dubey
, 2 years ago
Unable to start activity ComponentInfo{com.google.android.gms.samples.vision.barcodereader/com.google.android.gms.samples.vision.barcodereader.HistoryActivity}: android.database.sqlite.SQLiteException: no such table: pbstable (code 1): , while compiling: select * from pbstable
via Stack Overflow by Nikhil
, 2 years ago
Unable to start activity ComponentInfo{com.nikhilp.thecashcontroller/com.nikhilp.thecashcontroller.activity.MainActivity}: android.database.sqlite.SQLiteException: no such table: expenses (code 1): , while compiling: SELECT * FROM expenses
via Stack Overflow by Arshad Ali
, 7 months ago
Unable to start activity ComponentInfo{org.ast.labs.schedule/org.ast.labs.schedule.activity.MainActivity}: android.database.sqlite.SQLiteException: no such table: APPOINTMENT (code 1): , while compiling: SELECT * FROM APPOINTMENT
android.database.sqlite.SQLiteException: no such table: categories (code 1): , while compiling: SELECT * FROM categories
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 zw.co.pindula.funsa.db.DBHelper.getAllCategories(DBHelper.java:168)
at zw.co.pindula.funsa.util.Category.loadCategoryData(Category.java:70)
at zw.co.pindula.funsa.util.Category.onCreate(Category.java:37)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

Users with the same issue

12 times, 2 days ago
40 times, 2 months ago
347 times, 2 months ago
9 times, 3 months ago
Once, 5 months ago

Write tip

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