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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by isaias
, 1 year ago
head of empty list
via grzegorzbalcerek.net by Unknown author, 1 year ago
head of empty list
via Google Groups by Channing Walton, 10 months ago
java.util.NoSuchElementException: head of empty list
at scala.collection.immutable.Nil$.head(List.scala:420)
at io.getquill.context.EncodingMacro$class.encoding(EncodingMacro.scala:23)
at io.getquill.context.QueryMacro.encoding(QueryMacro.scala:12)
at io.getquill.norm.select.SelectFlattening$class.flattenSelect(SelectFlattening.scala:16)
at io.getquill.context.QueryMacro.flattenSelect(QueryMacro.scala:12)
at io.getquill.context.QueryMacro.expandQuery(QueryMacro.scala:27)
at io.getquill.context.QueryMacro.runQuery(QueryMacro.scala:16)

Users with the same issue

3 times, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
3 times, 5 months ago
2 times, 7 months ago

Write tip

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