java.lang.UnsupportedOperationException: No Encoder found for java.time.LocalDate - field (class: "java.time.LocalDate", name: "callDate") - root class: "FireService"

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Apache Spark 2.0: java.lang.UnsupportedOperationException: No Encoder found for java.time.LocalDate

    Stack Overflow | 9 months ago | Harmeet Singh Taara
    java.lang.UnsupportedOperationException: No Encoder found for java.time.LocalDate - field (class: "java.time.LocalDate", name: "callDate") - root class: "FireService"
  2. 0

    UnsupportedOperationException: No Encoder found for Any

    Stack Overflow | 4 months ago | Peter
    java.lang.UnsupportedOperationException: No Encoder found for Any - field (class: "java.lang.Object", name: "_1") - array element class: "scala.Tuple3" - root class: "scala.collection.immutable.List"

  1. rp 2 times, last 1 week ago
  2. bandoca 3 times, last 6 days ago

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    No Encoder found for java.time.LocalDate - field (class: "java.time.LocalDate", name: "callDate") - root class: "FireService"

    at org.apache.spark.sql.catalyst.ScalaReflection$.org$apache$spark$sql$catalyst$ScalaReflection$$serializerFor()
  2. Spark Project Catalyst
    ScalaReflection$$anonfun$9.apply
    1. org.apache.spark.sql.catalyst.ScalaReflection$.org$apache$spark$sql$catalyst$ScalaReflection$$serializerFor(ScalaReflection.scala:598)
    2. org.apache.spark.sql.catalyst.ScalaReflection$$anonfun$9.apply(ScalaReflection.scala:592)
    3. org.apache.spark.sql.catalyst.ScalaReflection$$anonfun$9.apply(ScalaReflection.scala:583)
    3 frames
  3. Scala
    TraversableLike$class.flatMap
    1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
    2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
    3. scala.collection.immutable.List.foreach(List.scala:381)
    4. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)
    4 frames