This is a follow-up question to MongoDB: class java.lang.Double cannot be cast to class java.lang.Long
The problem probably is that any of the indicated