java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bignerdranch.android.assignment2/com.bignerdranch.android.assignment2.ViewAllSessionsActivity}: android.database.sqlite.SQLiteException: no such table: table_name2 (code 1): , while compiling: SELECT title, time, active FROM table_name2

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 mm24mm
, 1 year ago
Unable to start activity ComponentInfo{com.bignerdranch.android.assignment2/com.bignerdranch.android.assignment2.ViewAllSessionsActivity}: android.database.sqlite.SQLiteException: no such table: table_name2 (code 1): , while compiling: SELECT title, time, active FROM table_name2
via Stack Overflow by Jovis Joseph
, 1 year ago
Unable to start activity ComponentInfo{com.example.note/com.example.note.ReminderListActivity}: android.database.sqlite.SQLiteException: no such table: reminders (code 1): , while compiling: SELECT _id, title, body, reminder_date_time FROM reminders
via Stack Overflow by Nikhil
, 2 years ago
Unable to start activity ComponentInfo{com.nikhilp.thecashcontroller/com.nikhilp.thecashcontroller.activity.MainActivity}: android.database.sqlite.SQLiteException: no such table: expenses (code 1): , while compiling: SELECT * FROM expenses
via Stack Overflow by Arshad Ali
, 6 months ago
Unable to start activity ComponentInfo{org.ast.labs.schedule/org.ast.labs.schedule.activity.MainActivity}: android.database.sqlite.SQLiteException: no such table: APPOINTMENT (code 1): , while compiling: SELECT * FROM APPOINTMENT
via Stack Overflow by Yohan Blake
, 2 years ago
Unable to start activity ComponentInfo{com.example.shareity/com.example.shareity.NewEvent}: android.database.sqlite.SQLiteException: no such table: event (code 1): , while compiling: SELECT * FROM event
via GitHub by bfxzyn
, 1 year ago
Unable to start activity ComponentInfo{com.meiyiyou.simpletodo/com.meiyiyou.simpletodo.MainActivity}: android.database.sqlite.SQLiteException: no such table: Item (code 1): , while compiling: SELECT ALL * FROM Item
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bignerdranch.android.assignment2/com.bignerdranch.android.assignment2.ViewAllSessionsActivity}: android.database.sqlite.SQLiteException: no such table: table_name2 (code 1): , while compiling: SELECT title, time, active FROM table_name2
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
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:1316)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1163)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1034)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1202)
at com.bignerdranch.android.assignment2.database.ListBaseHelper.SessionInformations(ListBaseHelper.java:82)
at com.bignerdranch.android.assignment2.ViewAllSessionsActivity.onCreate(ViewAllSessionsActivity.java:60)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

Users with the same issue

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

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