java.lang.Throwable: Explicit termination method 'close' not called

tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Resource Leak issue in android

    Stack Overflow | 4 weeks ago | Zia ur Rehman
    java.lang.Throwable: Explicit termination method 'close' not called
  2. 0

    Android Studio Strict Mode Unable to Locate Error

    Stack Overflow | 2 weeks ago | Jude Fernandes
    java.lang.Throwable: Explicit termination method 'close' not called
  3. 0

    GitHub comment 176#269803812

    GitHub | 2 months ago | sohailbud
    android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Firebase Database considers public fields and JavaBean-like getters and setters when serializing/deserializing JSON. A public field with a getter and a setter may cause this exception. Try to change to private or removing getter and setter.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.Throwable

    Explicit termination method 'close' not called

    at dalvik.system.CloseGuard.open()
  2. Android Platform
    AbstractCursor.moveToFirst
    1. dalvik.system.CloseGuard.open(CloseGuard.java:180)
    2. android.database.CursorWindow.<init>(CursorWindow.java:111)
    3. android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
    4. android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:140)
    5. android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:134)
    6. android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
    7. android.database.AbstractCursor.moveToFirst(AbstractCursor.java:264)
    7 frames
  3. com.google.android
    zzatu$4.run
    1. com.google.android.gms.internal.zzatg.zza(Unknown Source)
    2. com.google.android.gms.internal.zzatg.zza(Unknown Source)
    3. com.google.android.gms.internal.zzatw.zzc(Unknown Source)
    4. com.google.android.gms.internal.zzatu.zzb(Unknown Source)
    5. com.google.android.gms.internal.zzatu.zza(Unknown Source)
    6. com.google.android.gms.internal.zzatu$4.run(Unknown Source)
    6 frames
  4. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2 frames
  5. com.google.android
    zzato$zzd.run
    1. com.google.android.gms.internal.zzato$zzd.run(Unknown Source)
    1 frame