java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Transform protobuf to avro
    via Stack Overflow by user882447
    ,
  • Scalding Twitter Bijection Issue
    via by Brian Arnold,
  • Apache Avro project users list ()
    via by Unknown author,
    • java.lang.ClassCastException: [B cannot be cast to java.nio.ByteBuffer at org.apache.avro.generic.GenericDatumWriter.writeBytes(GenericDatumWriter.java:260) at org.apache.avro.generic.GenericDatumWriter.writeWithoutConversion(GenericDatumWriter.java:116) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73) at org.apache.avro.generic.GenericDatumWriter.writeField(GenericDatumWriter.java:153) at org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:143) at org.apache.avro.generic.GenericDatumWriter.writeWithoutConversion(GenericDatumWriter.java:105) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:60) at producers.AvroBinaryProducer.buildAvroData(AvroBinaryProducer.java:90) at producers.AvroBinaryProducer.start(AvroBinaryProducer.java:120) at producers.AvroBinaryProducer.main(AvroBinaryProducer.java:140)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,