Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by seuchoi
, 1 year ago
java.lang.Integer cannot be cast to scala.collection.IndexedSeq
java.lang.ClassCastException: java.lang.Integer cannot be cast to scala.collection.IndexedSeq	at org.broadinstitute.hail.expr.IndexOp$$anonfun$eval$224.apply(AST.scala:1894)	at org.broadinstitute.hail.expr.AST$$anonfun$evalCompose$2.apply(AST.scala:129)	at org.broadinstitute.hail.expr.Parser$$anonfun$5$$anonfun$apply$7.apply(Parser.scala:168)	at org.broadinstitute.hail.expr.Parser$$anonfun$5$$anonfun$apply$7.apply(Parser.scala:168)	at org.broadinstitute.hail.driver.AnnotateVariantsExpr$$anonfun$2$$anonfun$apply$2.apply(AnnotateVariantsExpr.scala:71)	at org.broadinstitute.hail.driver.AnnotateVariantsExpr$$anonfun$2$$anonfun$apply$2.apply(AnnotateVariantsExpr.scala:70)	at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:51)	at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:60)	at scala.collection.mutable.ArrayOps$ofRef.foldLeft(ArrayOps.scala:108)	at org.broadinstitute.hail.driver.AnnotateVariantsExpr$$anonfun$2.apply(AnnotateVariantsExpr.scala:70)	at org.broadinstitute.hail.driver.AnnotateVariantsExpr$$anonfun$2.apply(AnnotateVariantsExpr.scala:64)	at org.broadinstitute.hail.variant.VariantSampleMatrix$$anonfun$25.apply(VariantSampleMatrix.scala:423)	at org.broadinstitute.hail.variant.VariantSampleMatrix$$anonfun$25.apply(VariantSampleMatrix.scala:423)	at org.broadinstitute.hail.RichPairRDD$$anonfun$mapValuesWithKey$extension$1$$anonfun$apply$5.apply(Utils.scala:459)	at org.broadinstitute.hail.RichPairRDD$$anonfun$mapValuesWithKey$extension$1$$anonfun$apply$5.apply(Utils.scala:459)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at org.apache.spark.util.Utils$.getIteratorSize(Utils.scala:1555)	at org.apache.spark.rdd.RDD$$anonfun$count$1.apply(RDD.scala:1125)	at org.apache.spark.rdd.RDD$$anonfun$count$1.apply(RDD.scala:1125)	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1850)	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1850)	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)	at org.apache.spark.scheduler.Task.run(Task.scala:88)	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)