java.util.NoSuchElementException: key not found: 1

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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


rp

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

  • fault tolerance in populating RDD
    via by Sijo,
  • Spark cluster computing framework
    via by Unknown author,
  • Problem with schemifier and H2
    via GitHub by eltimn
    ,
    • java.util.NoSuchElementException: key not found: 1 at scala.collection.MapLike$class.default(MapLike.scala:225) at scala.collection.mutable.HashMap.default(HashMap.scala:45) at scala.collection.MapLike$class.apply(MapLike.scala:135) at scala.collection.mutable.HashMap.apply(HashMap.scala:45) at org.bigbluebutton.core.apps.sharednotes.SharedNotesApp$class.handlePatchDocumentRequest(SharedNotesApp.scala:26) at org.bigbluebutton.core.MeetingActor.handlePatchDocumentRequest(MeetingActor.scala:23) at org.bigbluebutton.core.MeetingActor$$anonfun$act$2$$anonfun$apply$1.apply(MeetingActor.scala:150) at org.bigbluebutton.core.MeetingActor$$anonfun$act$2$$anonfun$apply$1.apply(MeetingActor.scala:73) at scala.actors.ReactorTask.run(ReactorTask.scala:31) at scala.actors.Reactor$class.resumeReceiver(Reactor.scala:129) at org.bigbluebutton.core.MeetingActor.scala$actors$ReplyReactor$$super$resumeReceiver(MeetingActor.scala:23) at scala.actors.ReplyReactor$class.resumeReceiver(ReplyReactor.scala:68) at org.bigbluebutton.core.MeetingActor.resumeReceiver(MeetingActor.scala:23) at scala.actors.Actor$class.searchMailbox(Actor.scala:500) at org.bigbluebutton.core.MeetingActor.searchMailbox(MeetingActor.scala:23) at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Reactor.scala:117) at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114) at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114) at scala.actors.ReactorTask.run(ReactorTask.scala:33) at scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoinPool.java:611) at scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422) at scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325)

    Users with the same issue

    Handemelindo
    Handemelindo2 times, last one,
    michallos
    michallos4 times, last one,
    rp
    rp1 times, last one,
    tyson925
    tyson9251 times, last one,
    regisso
    regisso2 times, last one,
    13 more bugmates