net.sqlcipher.database.DatabaseObjectNotClosedException

Application did not close the cursor or database object that was opened here

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via GitHub by JulioV
    ,
  • Stack trace

    • net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here at net.sqlcipher.database.SQLiteCursor.<init>(SQLiteCursor.java:217) at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:53) at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772) at net.sqlcipher.database.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:330) at net.sqlcipher.database.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:280) at com.aware.providers.Light_Provider.query(Light_Provider.java:374) at android.content.ContentProvider.query(ContentProvider.java:1000) at android.content.ContentProvider$Transport.query(ContentProvider.java:214) at android.content.ContentResolver.query(ContentResolver.java:482) at android.content.ContentResolver.query(ContentResolver.java:426) at com.aware.Light.saveSensorDevice(Light.java:159) at com.aware.Light.onCreate(Light.java:230) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2825) at android.app.ActivityThread.access$1800(ActivityThread.java:156) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1434) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:211) at android.app.ActivityThread.main(ActivityThread.java:5373) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)

    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

    AjeetAjeet
    5 times, last one