java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shopkart/com.example.shopkart.MainActivity}: android.database.sqlite.SQLiteException: no such table: products: , while compiling: SELECT NAME from products

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 Coderanch by achuthan mukundarajan, 10 months ago
Unable to start activity ComponentInfo{com.example.shopkart/com.example.shopkart.MainActivity}: android.database.sqlite.SQLiteException: no such table: products: , while compiling: SELECT NAME from products
via coderanch.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.shopkart/com.example.shopkart.MainActivity}: android.database.sqlite.SQLiteException: no such table: products: , while compiling: SELECT NAME from products
via coderanch.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.shopkart/com.example.shopkart.MainActivity}: android.database.sqlite.SQLiteException: no such table: products: , while compiling: SELECT NAME from products
via phonesdevelopers.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo: android.database.sqlite.SQLiteException: no such table: category: , while compiling: SELECT * FROM category
via iswwwup.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo: android.database.sqlite.SQLiteException: no such table: category: , while compiling: SELECT * FROM category
via itanswerz.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo: android.database.sqlite.SQLiteException: no such table: category: , while compiling: SELECT * FROM category
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shopkart/com.example.shopkart.MainActivity}: android.database.sqlite.SQLiteException: no such table: products: , while compiling: SELECT NAME from products
at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:92)
at android.database.sqlite.SQLiteCompiledSql.(SQLiteCompiledSql.java:65)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:83)
at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:49)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1358)
at com.example.shopkart.datamanager.retrieveproducts(datamanager.java:218)
at com.example.shopkart.MainActivity.onCreate(MainActivity.java:54)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3689)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
8 times, 3 months ago
21 times, 1 year ago
29 more bugmates

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