java.lang.RuntimeException: An error occured while executing doInBackground()

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 GitHub by galaxyfeeder
, 2 years ago
An error occured while executing doInBackground()
via GitHub by noamamiran
, 11 months ago
An error occured while executing doInBackground()
via GitHub by RoelRoel
, 2 years ago
An error occured while executing doInBackground()
via GitHub by LiquidSnack
, 2 years ago
An error occured while executing doInBackground()
via GitHub by nirabpudasaini
, 2 years ago
An error occured while executing doInBackground()
via GitHub by blueleader07
, 2 years ago
An error occured while executing doInBackground()
android.database.sqlite.SQLiteException: no such table: type (code 1): , while compiling: SELECT type, image FROM type
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:1314)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1161)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1032)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1200)
at com.stella.erica.cookingtime.TypesDataSource.getListofTypes(TypesDataSource.java:36)
at com.stella.erica.cookingtime.ChoiceActivity$AddChoicesTask.getListOfChoices(ChoiceActivity.java:179)
at com.stella.erica.cookingtime.ChoiceActivity$AddChoicesTask.doInBackground(ChoiceActivity.java:108)
at com.stella.erica.cookingtime.ChoiceActivity$AddChoicesTask.doInBackground(ChoiceActivity.java:103)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Users with the same issue

12 times, 1 day ago
40 times, 2 months ago
347 times, 2 months ago
9 times, 3 months ago
Once, 5 months ago

Write tip

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