java.util.NoSuchElementException

head of empty list

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web281

  • via GitHub by pfn
    , 11 months ago
    head of empty list
  • via GitHub by nlpenguin
    , 1 year ago
    head of empty list
  • via Google Groups by Nguyen Hai, 3 weeks ago
    head of empty list
  • Stack trace

    • java.util.NoSuchElementException: head of empty list at scala.collection.immutable.Nil$.head(List.scala:386) at scala.collection.immutable.Nil$.head(List.scala:383) at kafka.api.TopicMetadataRequest$$anonfun$readFrom$2.apply(TopicMetadataRequest.scala:43) at kafka.api.TopicMetadataRequest$$anonfun$readFrom$2.apply(TopicMetadataRequest.scala:43) at kafka.utils.Logging$class.debug(Logging.scala:51) at kafka.api.TopicMetadataRequest$.debug(TopicMetadataRequest.scala:25) at kafka.api.TopicMetadataRequest$.readFrom(TopicMetadataRequest.scala:43) at kafka.api.RequestKeys$$anonfun$4.apply(RequestKeys.scala:37) at kafka.api.RequestKeys$$anonfun$4.apply(RequestKeys.scala:37) at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:47) at kafka.network.Processor.read(SocketServer.scala:320) at kafka.network.Processor.run(SocketServer.scala:231) at java.lang.Thread.run(Thread.java:680)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 1 week ago
    3 times, 1 month ago
    2 times, 3 months ago
    Once, 5 months ago
    2 times, 6 months ago
    2 more bugmates