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

  1. ,

    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 GitHub by VladUreche
, 2 years ago
key not found: value Rationals_A_TypeTag
via GitHub by 13h3r
, 2 years ago
via GitHub by laurayuwen
, 2 years ago
key not found: MetaVariable
java.util.NoSuchElementException: key not found: value job	at scala.collection.MapLike$class.default(MapLike.scala:228)	at scala.collection.AbstractMap.default(Map.scala:57)	at scala.collection.mutable.HashMap.apply(HashMap.scala:63)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder$scoping$2$.popScope(GenASM.scala:2184)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder$$anonfun$genBlock$1$1.apply(GenASM.scala:2609)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder$$anonfun$genBlock$1$1.apply(GenASM.scala:2355)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)	at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:39)	at scala.tools.nsc.backend.icode.BasicBlocks$BasicBlock.foreach(BasicBlocks.scala:185)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genBlock$1(GenASM.scala:2355)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genBlocks$1(GenASM.scala:2285)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genCode(GenASM.scala:2814)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genMethod(GenASM.scala:1615)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder$$anonfun$genClass$4.apply(GenASM.scala:1444)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder$$anonfun$genClass$4.apply(GenASM.scala:1444)	at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)	at scala.collection.immutable.List.foreach(List.scala:77)	at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1444)	at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:180)	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1574)	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1548)	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1544)	at scala.tools.nsc.Global$Run.compile(Global.scala:1654)	at xsbt.CachedCompiler0.run(CompilerInterface.scala:90)	at xsbt.CachedCompiler0.run(CompilerInterface.scala:72)	at xsbt.CompilerInterface.run(CompilerInterface.scala:26)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:73)	at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:35)	at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:29)	at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:71)	at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71)	at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71)	at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:101)	at sbt.compiler.AggressiveCompile$$anonfun$4.compileScala$1(AggressiveCompile.scala:70)	at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:88)	at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:60)	at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:24)	at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:22)	at sbt.inc.Incremental$.cycle(Incremental.scala:39)	at sbt.inc.Incremental$.compile(Incremental.scala:26)	at sbt.inc.IncrementalCompile$.apply(Compile.scala:20)	at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96)	at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44)	at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31)	at sbt.Compiler$.apply(Compiler.scala:79)	at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:571)	at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:571)	at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)	at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)	at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)	at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)	at sbt.std.Transform$$anon$5.work(System.scala:71)	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)	at sbt.Execute.work(Execute.scala:238)	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)	at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:680)