The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

212084 (1) [Avatar] Offline

I am going through the Avro chapter, and have implemented the Avro Parser.

I am trying to run the JAR file with the example Check object, but I get:
Exception in thread "main" java.lang.ClassCastException: org.apache.avro.util.Utf8 cannot be cast to java.lang.String
	at plum.avro.Check.put(
	at org.apache.avro.generic.GenericData.setField(
	at org.apache.avro.specific.SpecificDatumReader.readField(
	at org.apache.avro.generic.GenericDatumReader.readRecord(
	at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(
	at plum.AvroParser.fromJsonAvro(
	at plum.SchemaApp.main(

Seems to be related to

Anyone has a working example of this?