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

coderanch.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Deploying a database along with apk file (Android forum at Coderanch)

    coderanch.com | 1 year ago
    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
  2. 0

    Deploying a database along with apk file (Android forum at Coderanch)

    coderanch.com | 8 months ago
    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
  3. 0

    Deploying a database along with apk file

    Coderanch | 3 years ago | achuthan mukundarajan
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    phonegap Sqlite plugin implementation-error and warning:no such table

    Stack Overflow | 4 years ago | user
    android.database.sqlite.SQLiteException: no such table: table_name: , while compiling: SELECT column_name FROM table_name; 04-12 18:11:58.391: W/System.err(400): at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method) 04-12 18:11:58.391: W/System.err(400): at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91) 04-12 18:11:58.391: W/System.err(400): at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64) 04-12 18:11:58.391: W/System.err(400): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:80) at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:46)
  6. 0

    Why does my createOrUpdate() call fail?

    Stack Overflow | 2 years ago | John Ernest Guadalupe
    java.sql.SQLException: queryForLong from database failed: SELECT COUNT(*) FROM `table` WHERE `id` = ?
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.database.sqlite.SQLiteException

    no such table: products: , while compiling: SELECT NAME from products

    at android.database.sqlite.SQLiteCompiledSql.native_compile()
  2. Android Platform
    SQLiteDatabase.rawQuery
    1. android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
    2. android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:92)
    3. android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:65)
    4. android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:83)
    5. android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)
    6. android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
    7. android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1358)
    8. android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1326)
    8 frames
  3. com.example.shopkart
    MainActivity.onCreate
    1. com.example.shopkart.datamanager.retrieveproducts(datamanager.java:218)
    2. com.example.shopkart.MainActivity.onCreate(MainActivity.java:54)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
    4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:130)
    8. android.app.ActivityThread.main(ActivityThread.java:3689)
    8 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame