This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Description
First of all a huge thanks for your library!
I was trying to use it and ran into a rather strange bug. The put operation always threw a exception:
java.lang.ClassCastException: boolean[] cannot be cast to java.lang.Object[]
at com.github.florent37.androidnosql.NoSql$Node.write(NoSql.java:475)
Further digging with the LogDataServer revealed this:
nodes: /user/florent/cars/0/$jacocoData/ -> []
For some very strange reason the db tries to save coverage data associated with the jacoco plugin.
I could also replicate it in your example app when I added:
apply plugin: 'jacoco'
android {
buildTypes {
debug {
testCoverageEnabled = true
}
}
}
in the build.gradle file of the app module.
I hope this helps while debugging the issue!