scala.MatchError: empty iterator

artima.com | 7 months 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

    Pattern matching in Scala for expressions

    artima.com | 7 months ago
    scala.MatchError: empty iterator

    Root Cause Analysis

    1. scala.MatchError

      empty iterator

      at $anonfun$2.apply()
    2. Unknown
      $anonfun$2.apply
      1. $anonfun$2.apply(<console>:6)
      2. $anonfun$2.apply(<console>:6)
      2 frames
    3. Scala
      List.map
      1. scala.List.map(List.scala:812)
      1 frame