java.lang.UnsupportedOperationException

empty.reduceLeft

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 web25

  • empty.reduceLeft
  • via GitHub by l15k4
    , 1 year ago
    empty.reduceLeft
  • Stack trace

    • java.lang.UnsupportedOperationException: empty.reduceLeft at scala.collection.TraversableOnce$class.reduceLeft(TraversableOnce.scala:180) at scala.collection.mutable.ArrayBuffer.scala$collection$IndexedSeqOptimized$$super$reduceLeft(ArrayBuffer.scala:48) at scala.collection.IndexedSeqOptimized$class.reduceLeft(IndexedSeqOptimized.scala:74) at scala.collection.mutable.ArrayBuffer.reduceLeft(ArrayBuffer.scala:48) at scala.collection.TraversableOnce$class.reduce(TraversableOnce.scala:208) at scala.collection.AbstractTraversable.reduce(Traversable.scala:104) at upickle.Macros$Reading.mergeTrait(Macros.scala:77) at derive.Derive.deriveTrait(Derive.scala:298) at derive.Derive$$anonfun$9.apply(Derive.scala:237) at derive.Derive$$anonfun$9.apply(Derive.scala:235) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) at scala.collection.immutable.Map$Map2.foreach(Map.scala:137) at scala.collection.TraversableLike$class.map(TraversableLike.scala:234) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at derive.Derive.deriveType(Derive.scala:235) at derive.Derive.derive(Derive.scala:60) at upickle.Macros$.macroRImpl(Macros.scala:145)

    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

    Once, 3 months ago
    Once, 6 months ago