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 Google Groups by MªLuz Morales, 1 year ago
key not found: SPARKNET_HOME
via GitHub by newhoggy
, 1 year ago
key not found: Map(...)
via GitHub by newhoggy
, 1 year ago
key not found: Map(...)
via GitHub by zeph
, 2 years ago
key not found: partition
java.util.NoSuchElementException: key not found: SPARKNET_HOME	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 CaffeNetSpec.(CaffeNetSpec.scala:10)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)	at java.lang.Class.newInstance(Class.java:383)	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:621)	at sbt.TestRunner.runTest$1(TestFramework.scala:76)	at sbt.TestRunner.run(TestFramework.scala:85)	at sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)	at sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)	at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:185)	at sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)	at sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)	at sbt.TestFunction.apply(TestFramework.scala:207)	at sbt.Tests$.sbt$Tests$$processRunnable$1(Tests.scala:239)	at sbt.Tests$$anonfun$makeSerial$1.apply(Tests.scala:245)	at sbt.Tests$$anonfun$makeSerial$1.apply(Tests.scala:245)	at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)	at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)	at sbt.std.Transform$$anon$4.work(System.scala:63)	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)	at sbt.Execute.work(Execute.scala:237)	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)