android.database.sqlite.SQLiteException: no such table: People (code 1): , while compiling: SELECT * FROM People

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 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, 1 year ago
no such column: c.description (code 1): , while compiling: ...
via Stack Overflow by Kartikeya Garg
, 1 year ago
near "=": syntax error (code 1): , while compiling: SELECT * FROM RegisterWHERE phone= 7839477904
android.database.sqlite.SQLiteException: no such table: People (code 1): , while compiling: SELECT * FROM People
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:882)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:493)
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.myactivity.DataBaseManager.select(DataBaseManager.java:168)
at com.example.myactivity.MyActivity.updateTextView(MyActivity.java:97)
at com.example.myactivity.MyActivity$1.onClick(MyActivity.java:52)
at android.view.View.performClick(View.java:4204)
at android.view.View$PerformClick.run(View.java:17355)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

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

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