java.lang.ClassCastException: clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)

GitHub | tokomakoma123 | 4 months ago
  1. 0

    0.8.0-SNAPSHOT failed with java.lang.ClassCastException: clojure.lang.LazySeq

    GitHub | 4 months ago | tokomakoma123
    java.lang.ClassCastException: clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)
  2. 0

    Spark - java.lang.ClassCastException: cannot assign instance of java.lang.invoke.SerializedLambda to field org.apache.spark.api.java.JavaRDDLike

    Stack Overflow | 6 months ago | Manish Kumar
    java.lang.ClassCastException: cannot assign instance of java.lang.invoke.SerializedLambda to field org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.f$3 of type org.apache.spark.api.java.function.FlatMapFunction in instance of org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1
  3. 0

    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Byte

    GitHub | 3 years ago | PhilAndrew
    java.lang.ClassCastException: java.lang.Integer cannot be cast to > java.lang.Byte > at scala.runtime.BoxesRunTime.unboxToByte(BoxesRunTime.java:98) > at scala.runtime.ScalaRunTime$.array_update(ScalaRunTime.scala:95) > at scala.collection.IterableLike$class.copyToArray(IterableLike.scala:237) > at scala.collection.AbstractIterable.copyToArray(Iterable.scala:54) > at > scala.collection.TraversableOnce$class.copyToArray(TraversableOnce.scala:241) > at scala.collection.AbstractTraversable.copyToArray(Traversable.scala:105) > at > scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:249) > at scala.collection.AbstractTraversable.toArray(Traversable.scala:105) > at > com.omni.service.ReceiptService$$anonfun$1$$anonfun$apply$16.apply(ReceiptService.scala:189) > at > com.omni.service.ReceiptService$$anonfun$1$$anonfun$apply$16.apply(ReceiptService.scala:186) > at > spray.routing.directives.BasicDirectives$$anonfun$mapRequestContext$1$$anonfun$apply$1.apply(BasicDirectives.scala:30) > at > spray.routing.directives.BasicDirectives$$anonfun$mapRequestContext$1$$anonfun$apply$1.apply(BasicDirectives.scala:30) > at > spray.routing.directives.BasicDirectives$$anonfun$mapRequestContext$1$$anonfun$apply$1.apply(BasicDirectives.scala:30) > at > spray.routing.directives.BasicDirectives$$anonfun$mapRequestContext$1$$anonfun$apply$1.apply(BasicDirectives.scala:30) > at > spray.routing.directives.BasicDirectives$$anon$3$$anonfun$happly$1.apply(BasicDirectives.scala:92) > at > spray.routing.directives.BasicDirectives$$anon$3$$anonfun$happly$1.apply(BasicDirectives.scala:92) > at > spray.routing.directives.BasicDirectives$$anonfun$mapRequestContext$1$$anonfun$apply$1.apply(BasicDirectives.scala:30) > at > spray.routing.directives.BasicDirectives$$anonfun$mapRequestContext$1$$anonfun$apply$1.apply(BasicDirectives.scala:30) > at > spray.routing.directives.BasicDirectives$$anon$3$$anonfun$happly$1.apply(BasicDirectives.scala:92) > at > spray.routing.directives.BasicDirectives$$anon$3$$anonfun$happly$1.apply(BasicDirectives.scala:92) > at > spray.routing.RouteConcatenation$RouteConcatenation$$anonfun$$tilde$1$$anonfun$apply$1.apply(RouteConcatenation.scala:32) > at > spray.routing.RouteConcatenation$RouteConcatenation$$anonfun$$tilde$1$$anonfun$apply$1.apply(RouteConcatenation.scala:31) > at > spray.routing.RequestContext$$anonfun$withRejectionHandling$1.applyOrElse(RequestContext.scala:130) > at > scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33) > at > scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33) > at > scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25) > at spray.routing.RequestContext$$anon$1.handle(RequestContext.scala:84)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Null Handling in scala.collection.mutable.FlatHashTable

    GitHub | 3 years ago | cheeseng
    java.lang.ClassCastException: scala.collection.mutable.FlatHashTable$NullSentinel$ cannot be cast to java.lang.String at $anonfun$1.apply(:9)
  6. 0

    [SI-6908] FlatHashTable and things that depend on it like mutable.HashSet cannot store nulls - Scala

    scala-lang.org | 1 year ago
    java.lang.ClassCastException: scala.collection.mutable.FlatHashTable$NullSentinel$ cannot be cast to java.lang.String at $anonfun$1.apply(:9)

    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.ClassCastException

      clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)

      at scala.collection.Iterator$$anon$12.nextCur()
    2. Scala
      Iterator$$anon$11.hasNext
      1. scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)
      2. scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)
      3. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
      3 frames