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 DataStax JIRA by John Hoyland, 2 years ago
via DataStax JIRA by John Hoyland, 1 year ago
via GitHub by laurayuwen
, 2 years ago
key not found: MetaVariable
via Stack Overflow by FelixHJ
, 1 year ago
key not found: blergh
via GitHub by enshahar
, 1 year ago
key not found: mistress
java.util.NoSuchElementException: key not found: people_cpy	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 org.apache.spark.sql.cassandra.CassandraSourceRelation.(CassandraSourceRelation.scala:40)	at org.apache.spark.sql.cassandra.CassandraSourceRelation$.apply(CassandraSourceRelation.scala:168)	at org.apache.spark.sql.cassandra.DefaultSource.createRelation(DefaultSource.scala:84)	at org.apache.spark.sql.sources.ResolvedDataSource$.apply(ddl.scala:240)	at org.apache.spark.sql.DataFrame.save(DataFrame.scala:1196)