java.lang.RuntimeException

An error occured while executing doInBackground()

Solutions on the web18677

  • via Coderanch by Gabriela Cristian, 6 months ago
    An error occured while executing doInBackground()
  • via Coderanch by himani mittal, 6 months ago
    An error occured while executing doInBackground()
  • via Coderanch by maulidan abdillah, 6 months ago
    An error occured while executing doInBackground()
  • Stack trace

    • java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:300) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (Sqlite code 14): Could not open database, (OS error - 2:No such file or directory) at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193) at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177) at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804) at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:235) at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188) at org.horaapps.leafpic.Data.CustomAlbumsHandler.getExcludedFoldersPaths(CustomAlbumsHandler.java:109) at org.horaapps.leafpic.Data.Providers.MediaStoreProvider.getAlbums(MediaStoreProvider.java:85) at org.horaapps.leafpic.Data.Providers.MediaStoreProvider.getAlbums(MediaStoreProvider.java:35) at org.horaapps.leafpic.Data.HandlingAlbums.loadAlbums(HandlingAlbums.java:70) at org.horaapps.leafpic.Activities.SplashScreen$PrefetchAlbumsData.doInBackground(SplashScreen.java:152) at org.horaapps.leafpic.Activities.SplashScreen$PrefetchAlbumsData.doInBackground(SplashScreen.java:143) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 weeks ago
    Unknown user
    Once, 1 year ago
    3 times, 1 year ago
    Once, 1 month ago
    11 times, 6 months ago
    17 more bugmates