java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5)
at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:548)
at android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:323)
at android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298)
at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:505)
at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:416)
at ca.cumulonimbus.pressurenetsdk.CbDb.addCurrentConditionArrayList(CbDb.java:541)
at ca.cumulonimbus.pressurenetsdk.CbDb.addWeatherArrayList(CbDb.java:533)
at ca.cumulonimbus.pressurenetsdk.CbApi.saveAPIResults(CbApi.java:85)
at ca.cumulonimbus.pressurenetsdk.CbApi.access$3(CbApi.java:80)
at ca.cumulonimbus.pressurenetsdk.CbApi$APIDataDownload$SaveAPIData.doInBackground(CbApi.java:211)
at ca.cumulonimbus.pressurenetsdk.CbApi$APIDataDownload$SaveAPIData.doInBackground(CbApi.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
... 4 more
java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:299) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) at java.util.concurrent.FutureTask.setException(FutureTask.java:219) at java.util.concurrent.FutureTask.run(FutureTask.java:239) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:856) Caused by: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5) at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method) at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:548) at android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:323) at android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298) at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:505) at android.database.sqlite.SQLiteDatabase.beginTransaction(SQLiteDatabase.java:416) at ca.cumulonimbus.pressurenetsdk.CbDb.addCurrentConditionArrayList(CbDb.java:541) at ca.cumulonimbus.pressurenetsdk.CbDb.addWeatherArrayList(CbDb.java:533) at ca.cumulonimbus.pressurenetsdk.CbApi.saveAPIResults(CbApi.java:85) at ca.cumulonimbus.pressurenetsdk.CbApi.access$3(CbApi.java:80) at ca.cumulonimbus.pressurenetsdk.CbApi$APIDataDownload$SaveAPIData.doInBackground(CbApi.java:211) at ca.cumulonimbus.pressurenetsdk.CbApi$APIDataDownload$SaveAPIData.doInBackground(CbApi.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:234) ... 4 more