java.util.NoSuchElementException: key not found: 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

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

Solutions on the web

via Google Groups by Dinotzar, 2 years ago
via Google Groups by Tyson, 2 years ago
key not found: Stage 0
via Google Groups by Kuang-Ming Chen, 2 years ago
via Google Groups by Evan Chan, 2 years ago
key not found: app-20130404225937-0007/3
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 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 org.bigbluebutton.core.MeetingActor.scala$actors$ReplyReactor$$super$resumeReceiver(MeetingActor.scala:23)
at org.bigbluebutton.core.MeetingActor.resumeReceiver(MeetingActor.scala:23)
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

Once, 4 days ago
3 times, 6 days ago
2 times, 7 months ago
4 times, 10 months ago
Once, 1 year ago
15 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.