Check if the field you try to read really exists in the database. If it is optional, just use com.mongodb.casbah.commons.MongoDBObject#getAs


You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Explanations for JOINs
    via GitHub by okennedy
  • a bug in bagOfWords
    via GitHub by breezer2020
    • java.util.NoSuchElementException: key not found: LPKey-FToS at scala.collection.MapLike$class.default(MapLike.scala:228) at scala.collection.AbstractMap.default(Map.scala:58) at scala.collection.MapLike$class.apply(MapLike.scala:141) at scala.collection.AbstractMap.apply(Map.scala:58) at myClass$1.apply(MyClass.scala:162)

    Users with the same issue

    35 times, last one,
    Unknown visitor1 times, last one,
    Nikolay Rybak
    12 times, last one,
    Unknown visitor3 times, last one,
    Unknown visitor1 times, last one,
    13 more bugmates