android.database.sqlite.SQLiteException: no such column: name (code 1): , while compiling: select name, pass fromcontacts

Stack Overflow | Cedric Woo | 4 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    android.database.sqlite.SQLiteException: no such column: COLUMN_USER_USERNAME

    Stack Overflow | 5 months ago | HextechEnthusiast
    android.database.sqlite.SQLiteException: no such column: COLUMN_USER_USERNAME (code 1): , while compiling: SELECT usuaid, username, password FROM usuario WHERE COLUMN_USER_USERNAME = ?
  2. 0

    App crashes on buttonclick (Android)

    Stack Overflow | 4 weeks ago | Cedric Woo
    android.database.sqlite.SQLiteException: no such column: name (code 1): , while compiling: select name, pass fromcontacts
  3. 0

    no such column in SQLite

    Stack Overflow | 6 months ago | John
    android.database.sqlite.SQLiteException: no such column: alex (code 1): , while compiling: SELECT Image FROM User WHERE Name = alex
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android SQLite Database No such table issue

    Stack Overflow | 6 months ago | Chandru
    android.database.sqlite.SQLiteException: no such table: table_name(code 1): , while compiling: SELECT * FROM table_name
  6. 0

    Error in Sqlite query in android

    Stack Overflow | 2 years ago
    android.database.sqlite.SQLiteException: unrecognized token: "'%xyz" (code 1): , while compiling: **SELECT column FROM TABLE_NAME WHERE Name LIKE '%xyz��������������������������������������������������������������������%'**
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 column: name (code 1): , while compiling: select name, pass fromcontacts

    at android.database.sqlite.SQLiteConnection.nativePrepareStatement()
  2. Android Platform
    SQLiteDatabase.rawQuery
    1. android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
    2. android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:882)
    3. android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:493)
    4. android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
    5. android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
    6. android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
    7. android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
    8. android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1314)
    9. android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1253)
    9 frames
  3. com.example.username
    Student$1.onClick
    1. com.example.username.mp.DatabaseHelper.searchPass(DatabaseHelper.java:59)
    2. com.example.username.mp.Student$1.onClick(Student.java:42)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4084)
    2. android.view.View$PerformClick.run(View.java:16966)
    3. android.os.Handler.handleCallback(Handler.java:615)
    4. android.os.Handler.dispatchMessage(Handler.java:92)
    5. android.os.Looper.loop(Looper.java:137)
    6. android.app.ActivityThread.main(ActivityThread.java:4745)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame