java.util.NoSuchElementException: key not found: table

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 Selvam Raman, 1 year ago
via bcomposes.com by Unknown author, 11 months ago
via dzone.com by Unknown author, 2 years ago
key not found: bird
java.util.NoSuchElementException: key not found: table
at org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.default(ddl.scala:117)
at org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.apply(ddl.scala:117)
at org.apache.spark.sql.cassandra.DefaultSource$.TableRefAndOptions(DefaultSource.scala:122)
at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:315)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:149)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Users with the same issue

4 times, 5 months ago
Once, 11 months ago
Once, 3 weeks ago
2 times, 1 month ago
17 times, 6 months ago
14 more bugmates

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