TimeoutException com.couchbase.lite.ResultSet in free

Hi,

I’m using couchbase lite 2.7.0 in my android app. This below error making my app crash. Can anyone help me out.

java.util.concurrent.TimeoutException: com.couchbase.lite.ResultSet.finalize() timed out after 60 seconds
at com.couchbase.lite.ResultSet.free(ResultSet.java:190)
at com.couchbase.lite.ResultSet.finalize(ResultSet.java:146)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278)
at java.lang.Daemons$Daemon.run(Daemons.java:139)
at java.lang.Thread.run(Thread.java:920)

Yes. This is a known issue. There was a deadlock in the finalizer, when it attempted to seize the database lock. As I responded to your other post, this issue was fixed in 2.8 and the current release is 3.0. I suggest you update.

Hi,
After updating couchbase lite from 2.7.0 to 2.8.4 in android app same crash occur. can anyone help me out.

java.util.concurrent.TimeoutException: com.couchbase.lite.internal.core.C4Query.finalize() timed out after 10 seconds
at com.couchbase.lite.internal.core.C4Query.free(C4Query.java)
at com.couchbase.lite.internal.core.C4Query.finalize(C4Query.java:84)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:289)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:276)
at java.lang.Daemons$Daemon.run(Daemons.java:137)
at java.lang.Thread.run(Thread.java:919)

1 Like

Yes. Please update to 3.0. Or, at least, 2.8.6.