java.lang.ClassCastException: Submap cannot be cast to org.apache.avro.generic.IndexedRecord

Stack Overflow | Cedric H. | 4 months ago
  1. 0

    Avro serialisation cast error in Scala

    Stack Overflow | 4 months ago | Cedric H.
    java.lang.ClassCastException: Submap cannot be cast to org.apache.avro.generic.IndexedRecord
  2. 0

    org.apache.avro.ipc.generic.GenericRequestor cannot be cast to org.apache.avro.generic.IndexedRecord

    Stack Overflow | 3 years ago | x80rock
    java.lang.ClassCastException: org.apache.avro.ipc.generic.GenericRequestor cannot be cast to org.apache.avro.generic.IndexedRecord
  3. 0

    got "java.lang.String cannot be cast to java.lang.Integer" when running hadoop avro example

    Stack Overflow | 2 years ago | odhran
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer**
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Transform protobuf to avro

    Stack Overflow | 3 years ago | user882447
    java.lang.ClassCastException: example.avro.ProtoTest$Msg cannot be cast to org.apache.avro.generic.IndexedRecord
  6. 0

    ClassCastException while using Avro and MRUnit mapDriver

    Stack Overflow | 4 years ago | user1893455
    java.lang.ClassCastException: amazon.fclm.labormetrics.mapreduce.sample.AvroWordCount$Count cannot be cast to org.apache.avro.generic.IndexedRecord

    2 unregistered visitors
    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

      Submap cannot be cast to org.apache.avro.generic.IndexedRecord

      at org.apache.avro.generic.GenericData.getField()
    2. Apache Avro
      GenericDatumWriter.write
      1. org.apache.avro.generic.GenericData.getField(GenericData.java:666)
      2. org.apache.avro.generic.GenericData.getField(GenericData.java:681)
      3. org.apache.avro.generic.GenericDatumWriter.writeField(GenericDatumWriter.java:151)
      4. org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:143)
      5. org.apache.avro.generic.GenericDatumWriter.writeWithoutConversion(GenericDatumWriter.java:105)
      6. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73)
      7. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:60)
      7 frames