java.util.NoSuchElementException: key not found: c_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 GitHub by peterfig
, 1 year ago
key not found: table
via by Unknown author, 1 year ago
via by Unknown author, 2 years ago
key not found: bird
via Stack Overflow by tba
, 2 years ago
java.util.NoSuchElementException: key not found: c_table
at org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.default(ddl.scala:151)
at org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.apply(ddl.scala:151)

Users with the same issue

Once, 1 week ago
2 times, 2 weeks ago
6 times, 1 month ago
2 times, 3 months ago
17 times, 8 months ago

Write tip

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