I updated to the latest 2.8.2 casbah version, but still get a NullPointerException calling isEmpty when the query doesn't find anything:
val result = db(collName).find(MongoDBObject(subsystemKey -> subsystem, targetKey -> target)).sort(idKey -> -1).one()
if (result.isEmpty) ... // throws NullPointerException if empty
Is that a bug or am I doing something wrong?