Open MFlisar opened 7 years ago
If you are on production, please try commenting the customLogger.
I'm having a really similar issue:
Caused by: android.database.sqlite.SQLiteException:
at android.database.sqlite.SQLiteConnection.nativeOpen (SQLiteConnection.java)
at android.database.sqlite.SQLiteConnection.open (SQLiteConnection.java:212)
at android.database.sqlite.SQLiteConnection.open (SQLiteConnection.java:196)
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:836)
at android.database.sqlite.SQLiteDatabase.open (SQLiteDatabase.java:821)
at android.database.sqlite.SQLiteDatabase.openDatabase (SQLiteDatabase.java:714)
at android.app.ContextImpl.openOrCreateDatabase (ContextImpl.java:578)
at android.content.ContextWrapper.openOrCreateDatabase (ContextWrapper.java:269)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:223)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:163)
at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.<init> (SqliteJobQueue.java:49)
at com.birbit.android.jobqueue.DefaultQueueFactory.createPersistentQueue (DefaultQueueFactory.java:27)
at com.birbit.android.jobqueue.JobManagerThread.<init> (JobManagerThread.java:87)
at com.birbit.android.jobqueue.JobManager.<init> (JobManager.java:62)
at com.busuu.android.module.DomainModule.provideJobManager (DomainModule.java:56)
at com.busuu.android.module.DomainModule_ProvideJobManagerFactory.get (DomainModule_ProvideJobManagerFactory.java:30)
at com.busuu.android.module.DomainModule_ProvideJobManagerFactory.get (DomainModule_ProvideJobManagerFactory.java:10)
at dagger.internal.DoubleCheck.get (DoubleCheck.java:47)
at com.busuu.android.module.DomainModule_ProvideUseCaseExecutorFactory.get (DomainModule_ProvideUseCaseExecutorFactory.java:37)
Any update on this?
Here are some other stacktraces that I rarely get at the same place when trying to init the job manager...
android.database.sqlite.SQLiteDiskIOException:
at android.database.sqlite.SQLiteConnection.nativeExecute (Native Method)
at android.database.sqlite.SQLiteConnection.execute (SQLiteConnection.java:576)
at android.database.sqlite.SQLiteSession.beginTransactionUnchecked (SQLiteSession.java:336)
at android.database.sqlite.SQLiteSession.beginTransaction (SQLiteSession.java:311)
at android.database.sqlite.SQLiteDatabase.beginTransaction (SQLiteDatabase.java:532)
at android.database.sqlite.SQLiteDatabase.beginTransaction (SQLiteDatabase.java:443)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:264)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:175)
at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.<init> (SourceFile:49)
at com.birbit.android.jobqueue.DefaultQueueFactory.a (SourceFile:27)
at com.birbit.android.jobqueue.JobManagerThread.<init> (SourceFile:87)
at com.birbit.android.jobqueue.JobManager.<init> (SourceFile:62)
...
android.database.sqlite.SQLiteException:
at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration (SQLiteConnection.java:417)
at android.database.sqlite.SQLiteConnection.open (SQLiteConnection.java:238)
at android.database.sqlite.SQLiteConnection.open (SQLiteConnection.java:205)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked (SQLiteConnectionPool.java:501)
at android.database.sqlite.SQLiteConnectionPool.open (SQLiteConnectionPool.java:204)
at android.database.sqlite.SQLiteConnectionPool.open (SQLiteConnectionPool.java:180)
at android.database.sqlite.SQLiteDatabase.openInner (SQLiteDatabase.java:880)
at android.database.sqlite.SQLiteDatabase.open (SQLiteDatabase.java:848)
at android.database.sqlite.SQLiteDatabase.openDatabase (SQLiteDatabase.java:716)
at android.app.ContextImpl.openOrCreateDatabase (ContextImpl.java:590)
at android.content.ContextWrapper.openOrCreateDatabase (ContextWrapper.java:269)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:277)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:174)
at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.<init> (SourceFile:49)
at com.birbit.android.jobqueue.DefaultQueueFactory.a (SourceFile:27)
at com.birbit.android.jobqueue.JobManagerThread.<init> (SourceFile:87)
at com.birbit.android.jobqueue.JobManager.<init> (SourceFile:62)
...
android.database.sqlite.SQLiteReadOnlyDatabaseException:
at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount (Native Method)
at android.database.sqlite.SQLiteConnection.executeForChangedRowCount (SQLiteConnection.java:743)
at android.database.sqlite.SQLiteSession.executeForChangedRowCount (SQLiteSession.java:754)
at android.database.sqlite.SQLiteStatement.executeUpdateDelete (SQLiteStatement.java:64)
at android.database.sqlite.SQLiteDatabase.executeSql (SQLiteDatabase.java:1707)
at android.database.sqlite.SQLiteDatabase.execSQL (SQLiteDatabase.java:1636)
at com.birbit.android.jobqueue.persistentQueue.sqlite.DbOpenHelper.onCreate (SourceFile:58)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:251)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:163)
at com.birbit.android.jobqueue.persistentQueue.sqlite.SqliteJobQueue.<init> (SourceFile:49)
at com.birbit.android.jobqueue.DefaultQueueFactory.a (SourceFile:27)
at com.birbit.android.jobqueue.JobManagerThread.<init> (SourceFile:87)
at com.birbit.android.jobqueue.JobManager.<init> (SourceFile:62)
...
My solution for now is using a custom QueueFactory with a dummy persistant queue, because I'm not using persistant jobs anyways... Not the best solution, so I'm still looking forward for any help with this issue
Crash in playstore
Setup
Any idea why this happens sometimes? It's an issue that only happens rarely, but regularly...