-
Notifications
You must be signed in to change notification settings - Fork 157
A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. #41
Copy link
Copy link
Closed
Labels
Description
I keep getting this error because I'm not closing the db. But I don't want to close and open it again and again. How can I stop this error from logs.
W/SQLite: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
java.lang.Throwable: Explicit termination method 'close' not called
at io.requery.android.database.sqlite.CloseGuard.open(CloseGuard.java:188)
at io.requery.android.database.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:183)
at io.requery.android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:204)
at io.requery.android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:467)
at io.requery.android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:188)
at io.requery.android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:180)
at io.requery.android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:827)
at io.requery.android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:796)
at io.requery.android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:699)
at io.requery.android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:236)
at io.requery.android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:170)
Reactions are currently unavailable