java.util.NoSuchElementException: head of empty list

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

Solutions on the web

via DataStax JIRA by Piotr Kołaczkowski, 1 year ago
head of empty list
via DataStax JIRA by Piotr Kołaczkowski, 1 year ago
head of empty list
via Google Groups by yigal ulger, 10 months ago
java.util.NoSuchElementException: head of empty list
at scala.collection.immutable.Nil$.head(List.scala:337)
at org.apache.spark.sql.cassandra.CassandraStrategies$CassandraTableScans$$anonfun$partitionColumnPushDown$1.apply(CassandraStrategies.scala:76)
at org.apache.spark.sql.cassandra.CassandraStrategies$CassandraTableScans$.partitionColumnPushDown(CassandraStrategies.scala:75)
at org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
at org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan$lzycompute(SQLContext.scala:407)
at org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan(SQLContext.scala:405)
at org.apache.spark.sql.SQLContext$QueryExecution.executedPlan$lzycompute(SQLContext.scala:411)
at org.apache.spark.sql.SQLContext$QueryExecution.executedPlan(SQLContext.scala:411)
at org.apache.spark.sql.SchemaRDD.collect(SchemaRDD.scala:438)
at com.esri.scala.TestCassandraSQL$.main(TestCassandraSQL.scala:18)
at com.esri.scala.TestCassandraSQL.main(TestCassandraSQL.scala)

Users with the same issue

4 times, 4 months ago
Once, 2 days ago
3 times, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
7 more bugmates

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