Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. GenericDatumWriter.write() has thrown a ClassCastException
    Apache Avro
    2
    0
    1
  2. GenericData.getField() has thrown a ClassCastException
    Apache Avro
    4
    0
    2

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.avro.generic.IndexedRecord
2 matching frames hidden
    at org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:103)
    at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:65)
    at org.apache.avro.generic.GenericDatumWriter.writeMap(GenericDatumWriter.java:165)
    at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:68)
3 frames hidden

External results for this pattern (10)

  1. Scott Careyvia incubator-pig-user4 months ago
    org.apache.pig.data.BinSedesTuple cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  2. Unknown authorvia nabble.com4 months ago
    java.lang.String cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  3. Brian Arnoldvia Google Groups4 months ago
    [_pipe_19*_pipe_20][mapTo() @ com.company.pipes.EncoderPipe.encodeBase64(EncoderPipe.scala:22)] operator Each failed executing operation
    Show stack trace
  4. Tanya Bansalvia avro-user5 months ago
    amazon.fclm.labormetrics.mapreduce.sample.AvroWordCount$Count cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  5. Dave Beechvia avro-user5 months ago
    amazon.fclm.labormetrics.mapreduce.sample.AvroWordCount$Count cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  6. Tanya Bansalvia avro-user5 months ago
    amazon.fclm.labormetrics.mapreduce.sample.AvroWordCount$Count cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  7. Tanya Bansalvia avro-user1 year ago
    amazon.fclm.labormetrics.mapreduce.sample.AvroWordCount$Count cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  8. Dave Beechvia avro-user1 year ago
    amazon.fclm.labormetrics.mapreduce.sample.AvroWordCount$Count cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  9. Scott Careyvia pig-user1 year ago
    org.apache.pig.data.BinSedesTuple cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace
  10. Scott Careyvia pig-user1 year ago
    org.apache.pig.data.BinSedesTuple cannot be cast to org.apache.avro.generic.IndexedRecord
    Show stack trace