yigit / android-priority-jobqueue

A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.
3.4k stars 395 forks source link

android.database.sqlite.SQLiteDatabaseLockedException database is locked (code 5) #444

Open MichaelJokAr opened 6 years ago

MichaelJokAr commented 6 years ago

this is issues info:

android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
--
android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:751)
 android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
 android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
 android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1706)
 android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1635)
 com.birbit.android.jobqueue.persistentQueue.sqlite.SqlHelper.truncate(SqlHelper.java:245)
 com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.clear(SqliteJobQueue.java:340)
 com.birbit.android.jobqueue.cachedQueue.CachedJobQueue.clear(CachedJobQueue.java:94)
 com.birbit.android.jobqueue.JobManagerThread.clear(JobManagerThread.java:425)
 com.birbit.android.jobqueue.JobManagerThread.handlePublicQuery(JobManagerThread.java:406)
 com.birbit.android.jobqueue.JobManagerThread.access$500(JobManagerThread.java:35)
 com.birbit.android.jobqueue.JobManagerThread$1.handleMessage(JobManagerThread.java:250)
com.birbit.android.jobqueue.messaging.PriorityMessageQueue.consume(PriorityMessageQueue.java:39)
com.birbit.android.jobqueue.JobManagerThread.run(JobManagerThread.java:222)
 java.lang.Thread.run(Thread.java:818)