android.database.sqlite.SQLiteException: no such column: alex (code 1): , while compiling: SELECT Image FROM User WHERE Name = alex

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 John
, 1 year ago
no such column: alex (code 1): , while compiling: SELECT Image FROM User WHERE Name = alex
via grman.at by Unknown author, 1 year ago
no such table: <TABLE> (code 1): , while compiling: SELECT <column list> FROM <TABLE>
via Stack Overflow by alphasigmakappa
, 2 years ago
no such table: past (code 1): , while compiling: select * from past
via thinkingaboutnothing.com by Unknown author, 2 years ago
no such column: c.description (code 1): , while compiling: ...
via thinkingaboutnothing.com by Unknown author, 2 years ago
no such column: c.description (code 1): , while compiling: ...
android.database.sqlite.SQLiteException: no such column: alex (code 1): , while compiling: SELECT Image FROM User WHERE Name = alex
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:888)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:499)
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:1314)
at com.example.seng.healthyapp.MainActivity$1.onClick(MainActivity.java:76)
at android.view.View.performClick(View.java:4230)

Users with the same issue

12 times, 1 month ago
40 times, 3 months ago
347 times, 3 months ago
9 times, 4 months ago
Once, 6 months ago

Write tip

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