java.util.NoSuchElementException: head of empty list

Apache's JIRA Issue Tracker | David Arthur | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    blog example doesn't work for me

    GitHub | 6 years ago | andyczerwonka
    java.util.NoSuchElementException: head of empty list
  2. 0

    Error following the example

    GitHub | 6 years ago | wkorfhage
    java.util.NoSuchElementException: head of empty list
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Tail recursion not optimized in ForkTests.react

    GitHub | 4 years ago | harrah
    java.util.NoSuchElementException: head of empty list
  5. 0

    Tail recursion not optimized in ForkTests.react

    GitHub | 5 years ago | harrah
    java.util.NoSuchElementException: head of empty list

  1. rp 2 times, last 1 month ago
  2. harshg 1 times, last 3 months ago
  3. Handemelindo 1 times, last 4 months ago
  4. jokester 2 times, last 5 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.NoSuchElementException

    head of empty list

    at scala.collection.immutable.Nil$.head()
  2. Scala
    Nil$.head
    1. scala.collection.immutable.Nil$.head(List.scala:386)
    2. scala.collection.immutable.Nil$.head(List.scala:383)
    2 frames
  3. Apache Kafka
    Processor.run
    1. kafka.api.TopicMetadataRequest$$anonfun$readFrom$2.apply(TopicMetadataRequest.scala:43)
    2. kafka.api.TopicMetadataRequest$$anonfun$readFrom$2.apply(TopicMetadataRequest.scala:43)
    3. kafka.utils.Logging$class.debug(Logging.scala:51)
    4. kafka.api.TopicMetadataRequest$.debug(TopicMetadataRequest.scala:25)
    5. kafka.api.TopicMetadataRequest$.readFrom(TopicMetadataRequest.scala:43)
    6. kafka.api.RequestKeys$$anonfun$4.apply(RequestKeys.scala:37)
    7. kafka.api.RequestKeys$$anonfun$4.apply(RequestKeys.scala:37)
    8. kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:47)
    9. kafka.network.Processor.read(SocketServer.scala:320)
    10. kafka.network.Processor.run(SocketServer.scala:231)
    10 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame