java.lang.UnsupportedOperationException

empty.reduceLeft


Solutions on the web23

Solution icon of github
empty.reduceLeft

Solution icon of github
via GitHub by l15k4
, 1 year ago
empty.reduceLeft

Solution icon of github
empty.reduceLeft

Solution icon of github
empty.reduceLeft

Solution icon of github
empty.reduceLeft

Solution icon of github
empty.reduceLeft

Solution icon of github
via GitHub by realstraw
, 7 months ago
empty.reduceLeft

Solution icon of github
empty.reduceLeft

Solution icon of github
empty.reduceLeft

Stack trace

  • java.lang.UnsupportedOperationException: empty.reduceLeft at scala.collection.TraversableOnce$class.reduceLeft(TraversableOnce.scala:180) at scala.collection.AbstractTraversable.reduceLeft(Traversable.scala:104) at scala.collection.TraversableOnce$class.reduce(TraversableOnce.scala:208) at scala.collection.AbstractTraversable.reduce(Traversable.scala:104) at mesosphere.marathon.api.v2.TasksResource$$anonfun$indexJson$1$stateMachine$macro$87$1.apply(TasksResource.scala:74) at mesosphere.marathon.api.v2.TasksResource$$anonfun$indexJson$1$stateMachine$macro$87$1.apply(TasksResource.scala:53) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

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, 7 months ago