scala.MatchError: empty iterator

artima.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Pattern matching in Scala for expressions

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