java.lang.UnsupportedOperationException: empty.head

GitHub | FlorianLiebhart | 3 years 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

    FAILED: ResponseParserSpec

    GitHub | 2 years ago | ktoso
    java.lang.UnsupportedOperationException: empty.head
  2. 0

    Topics list is empty

    GitHub | 2 years ago | gayathrisowmya
    play.api.Application$$anon$1: Execution exception[[UnsupportedOperationException: empty.head]]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Topics list

    GitHub | 3 years ago | talnicolas
    play.api.Application$$anon$1: Execution exception[[UnsupportedOperationException: > empty.head]]
  5. 0

    GitHub comment 22#122157334

    GitHub | 2 years ago | gayathrisowmya
    play.api.Application$$anon$1: Execution exception[[UnsupportedOperationException: empty.head]]

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      empty.head

      at scala.collection.immutable.Vector.head()
    2. Scala
      Vector.head
      1. scala.collection.immutable.Vector.head(Vector.scala:192)
      1 frame
    3. service
      ProposalService$$anonfun$finishVote$1$$anonfun$apply$1$$anonfun$apply$mcII$sp$2.apply
      1. service.ProposalService$$anonfun$finishVote$1$$anonfun$apply$1$$anonfun$apply$mcII$sp$2.apply(ProposalService.scala:123)
      2. service.ProposalService$$anonfun$finishVote$1$$anonfun$apply$1$$anonfun$apply$mcII$sp$2.apply(ProposalService.scala:121)
      2 frames
    4. Scala
      AbstractIterable.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      3. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      4. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      4 frames
    5. service
      ProposalService$$anonfun$finishVote$1$$anonfun$apply$1.apply
      1. service.ProposalService$$anonfun$finishVote$1$$anonfun$apply$1.apply$mcII$sp(ProposalService.scala:121)
      2. service.ProposalService$$anonfun$finishVote$1$$anonfun$apply$1.apply(ProposalService.scala:118)
      3. service.ProposalService$$anonfun$finishVote$1$$anonfun$apply$1.apply(ProposalService.scala:118)
      3 frames
    6. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:318)
      1 frame
    7. service
      ProposalService$$anonfun$finishVote$1.apply
      1. service.ProposalService$$anonfun$finishVote$1.apply(ProposalService.scala:118)
      2. service.ProposalService$$anonfun$finishVote$1.apply(ProposalService.scala:115)
      2 frames
    8. scala.slick.backend
      DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1$$anonfun$apply$1.apply
      1. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1$$anonfun$apply$1.apply(DatabaseComponent.scala:44)
      1 frame
    9. SLICK
      JdbcBackend$BaseSession.withTransaction
      1. scala.slick.jdbc.JdbcBackend$BaseSession.withTransaction(JdbcBackend.scala:331)
      1 frame
    10. scala.slick.backend
      DatabaseComponent$DatabaseDef$class.withSession
      1. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:44)
      2. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:44)
      3. scala.slick.backend.DatabaseComponent$DatabaseDef$class.withSession(DatabaseComponent.scala:31)
      3 frames
    11. SLICK
      JdbcBackend$DatabaseFactoryDef$$anon$4.withSession
      1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$4.withSession(JdbcBackend.scala:46)
      1 frame
    12. scala.slick.backend
      DatabaseComponent$DatabaseDef$class.withTransaction
      1. scala.slick.backend.DatabaseComponent$DatabaseDef$class.withTransaction(DatabaseComponent.scala:44)
      1 frame
    13. SLICK
      JdbcBackend$DatabaseFactoryDef$$anon$4.withTransaction
      1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$4.withTransaction(JdbcBackend.scala:46)
      1 frame
    14. service
      ProposalService$$anonfun$receive$1.applyOrElse
      1. service.ProposalService.finishVote(ProposalService.scala:115)
      2. service.ProposalService$$anonfun$receive$1.applyOrElse(ProposalService.scala:146)
      2 frames
    15. Scala
      AbstractPartialFunction$mcVL$sp.apply
      1. scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
      2. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
      3. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
      3 frames
    16. service
      ExceptionHandling$Handled.apply
      1. service.ExceptionHandling$Handled.apply(ExceptionHandling.scala:23)
      2. service.ExceptionHandling$Handled.apply(ExceptionHandling.scala:20)
      2 frames
    17. Scala
      PartialFunction$class.applyOrElse
      1. scala.PartialFunction$class.applyOrElse(PartialFunction.scala:118)
      1 frame
    18. service
      ExceptionHandling$Handled.applyOrElse
      1. service.ExceptionHandling$Handled.applyOrElse(ExceptionHandling.scala:20)
      1 frame
    19. Akka Actor
      ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:456)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:219)
      5. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:385)
      5 frames
    20. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[error]
      4 frames