ribesg
08/29/2017, 4:46 PMtailrec fun find(
filter: Bson? = null,
projection: Bson? = null,
sort: Bson? = null,
limit: Int? = null,
tries: Int = 3,
delayBetweenTries: Long = 2500L
): Iterable<T> {
I get a java.lang.NullPointerException
on the delayBetweenTries
line, the first at
line of the stacktrace says MongoFinder.find$default(MongoFinder.kt:40)
I have no idea why this occurs, here's the call:
val channels = mongoFinder.find(projection = include("title", "externalId", "platform"))