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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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 | 2 years ago | Sungwook Yoon
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Recor d cannot be cast to org.bdgenomics.formats.avro.NucleotideContigFragment
  3. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188

    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