java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment

Google Groups | Sungwook Yoon | 2 years ago
  1. 0

    avocado class cast error

    Google Groups | 2 years ago | Sungwook Yoon
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment
  2. 0

    avocado error reading adam files

    Google Groups | 1 year ago | Sungwook Yoon
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Recor d cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment
  3. 0

    avocado class cast error

    Google Groups | 2 years ago | Sungwook Yoon
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    avocado class cast error

    Google Groups | 2 years ago | Sungwook Yoon
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment
  6. 0

    avocado class cast error

    Google Groups | 2 years ago | Sungwook Yoon
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment

    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

      org.apache.avro.generic.GenericData$Record cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment

      at org.bdgenomics.adam.rdd.contig.NucleotideContigFragmentRDDFunctions.getSequenceRecordsFromElement()
    2. org.bdgenomics.adam
      ADAMSequenceDictionaryRDDAggregator$$anonfun$2.apply
      1. org.bdgenomics.adam.rdd.contig.NucleotideContigFragmentRDDFunctions.getSequenceRecordsFromElement(NucleotideContigFragmentRDDFunctions.scala:41)
      2. org.bdgenomics.adam.rdd.ADAMSequenceDictionaryRDDAggregator.org$bdgenomics$adam$rdd$ADAMSequenceDictionaryRDDAggregator$$mergeRecords$1(ADAMRDDFunctions.scala:120)
      3. org.bdgenomics.adam.rdd.ADAMSequenceDictionaryRDDAggregator$$anonfun$2.apply(ADAMRDDFunctions.scala:132)
      4. org.bdgenomics.adam.rdd.ADAMSequenceDictionaryRDDAggregator$$anonfun$2.apply(ADAMRDDFunctions.scala:132)
      4 frames
    3. Scala
      AbstractIterator.foldLeft
      1. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)
      2. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      5. scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:144)
      6. scala.collection.AbstractIterator.foldLeft(Iterator.scala:1157)
      6 frames
    4. org.bdgenomics.adam
      ADAMSequenceDictionaryRDDAggregator$$anonfun$adamGetSequenceDictionary$1.apply
      1. org.bdgenomics.adam.rdd.ADAMSequenceDictionaryRDDAggregator.org$bdgenomics$adam$rdd$ADAMSequenceDictionaryRDDAggregator$$foldIterator$1(ADAMRDDFunctions.scala:132)
      2. org.bdgenomics.adam.rdd.ADAMSequenceDictionaryRDDAggregator$$anonfun$adamGetSequenceDictionary$1.apply(ADAMRDDFunctions.scala:136)
      3. org.bdgenomics.adam.rdd.ADAMSequenceDictionaryRDDAggregator$$anonfun$adamGetSequenceDictionary$1.apply(ADAMRDDFunctions.scala:136)
      3 frames
    5. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.rdd.RDD$$anonfun$14.apply(RDD.scala:618)
      2. org.apache.spark.rdd.RDD$$anonfun$14.apply(RDD.scala:618)
      3. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:35)
      4. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:280)
      5. org.apache.spark.rdd.RDD.iterator(RDD.scala:247)
      6. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
      7. org.apache.spark.scheduler.Task.run(Task.scala:56)
      8. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:200)
      8 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames