java.util.NoSuchElementException: head of empty list

GitHub | relrod | 4 months ago
  1. 0

    GitHub comment 283#241199889

    GitHub | 4 months ago | pfn
    java.util.NoSuchElementException: head of empty list
  2. 0

    java.util.NoSuchElementException: head of empty list

    GitHub | 4 months ago | relrod
    java.util.NoSuchElementException: head of empty list
  3. 0

    Play-scala-mongodb throws exception and quits when accessing /db

    GitHub | 2 years ago | aschneider-techempower
    java.util.NoSuchElementException: head of empty list
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Doesn't work with -Yno-generic-signatures

    GitHub | 3 years ago | japgolly
    org.json4s.package$MappingException: unknown error
  6. 0

    Can't add custom serializer for collection class

    GitHub | 3 years ago | danarmak
    org.json4s.package$MappingException: unknown error

  1. harshg 1 times, last 8 months ago
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.util.NoSuchElementException

    head of empty list

    at scala.collection.immutable.Nil$.head()
  2. Scala
    Nil$.head
    1. scala.collection.immutable.Nil$.head(List.scala:337)
    2. scala.collection.immutable.Nil$.head(List.scala:334)
    2 frames
  3. Android Platform
    Dependencies$LibEquals.hashCode
    1. android.Dependencies$AarLibrary.moduleID$lzycompute(dependencies.scala:89)
    2. android.Dependencies$AarLibrary.moduleID(dependencies.scala:87)
    3. android.Dependencies$LibEquals.hashCode(dependencies.scala:136)
    3 frames
  4. Scala
    AbstractSeq.distinct
    1. scala.collection.mutable.FlatHashTable$HashUtils$class.elemHashCode(FlatHashTable.scala:391)
    2. scala.collection.mutable.HashSet.elemHashCode(HashSet.scala:41)
    3. scala.collection.mutable.FlatHashTable$class.findEntryImpl(FlatHashTable.scala:123)
    4. scala.collection.mutable.FlatHashTable$class.containsEntry(FlatHashTable.scala:119)
    5. scala.collection.mutable.HashSet.containsEntry(HashSet.scala:41)
    6. scala.collection.mutable.HashSet.contains(HashSet.scala:58)
    7. scala.collection.GenSetLike$class.apply(GenSetLike.scala:43)
    8. scala.collection.mutable.AbstractSet.apply(Set.scala:45)
    9. scala.collection.SeqLike$$anonfun$distinct$1.apply(SeqLike.scala:494)
    10. scala.collection.immutable.List.foreach(List.scala:318)
    11. scala.collection.SeqLike$class.distinct(SeqLike.scala:493)
    12. scala.collection.AbstractSeq.distinct(Seq.scala:40)
    12 frames
  5. Android Platform
    Tasks$$anonfun$withCachedRes$1.apply
    1. android.Dependencies$LibrarySeqOps.distinctLibs(dependencies.scala:146)
    2. android.Resources$.collectdeps(resources.scala:323)
    3. android.Resources$.doCollectResources(resources.scala:68)
    4. android.Tasks$$anonfun$40$$anonfun$apply$45.apply(tasks.scala:489)
    5. android.Tasks$$anonfun$40$$anonfun$apply$45.apply(tasks.scala:488)
    6. android.Tasks$$anonfun$withCachedRes$1.apply(tasks.scala:847)
    7. android.Tasks$$anonfun$withCachedRes$1.apply(tasks.scala:845)
    7 frames
  6. SBT
    FileFunction$$anonfun$cached$2.apply
    1. sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:253)
    2. sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:253)
    3. sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:267)
    4. sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:263)
    5. sbt.Difference.apply(Tracked.scala:224)
    6. sbt.Difference.apply(Tracked.scala:206)
    7. sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:263)
    8. sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:262)
    9. sbt.Difference.apply(Tracked.scala:224)
    10. sbt.Difference.apply(Tracked.scala:200)
    11. sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:262)
    12. sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:260)
    12 frames
  7. Android Platform
    Tasks$$anonfun$40.apply
    1. android.Tasks$.withCachedRes(tasks.scala:848)
    2. android.Tasks$$anonfun$40.apply(tasks.scala:488)
    3. android.Tasks$$anonfun$40.apply(tasks.scala:476)
    3 frames
  8. Scala
    Function1$$anonfun$compose$1.apply
    1. scala.Function8$$anonfun$tupled$1.apply(Function8.scala:35)
    2. scala.Function8$$anonfun$tupled$1.apply(Function8.scala:34)
    3. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    3 frames
  9. SBT
    $tilde$greater$$anonfun$$u2219$1.apply
    1. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
    1 frame
  10. sbt Task system
    Transform$$anon$4.work
    1. sbt.std.Transform$$anon$4.work(System.scala:63)
    1 frame
  11. SBT
    CompletionService$$anon$2.call
    1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
    2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
    3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
    4. sbt.Execute.work(Execute.scala:237)
    5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
    6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
    7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
    8. sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
    8 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    6. java.lang.Thread.run(Thread.java:745)
    6 frames