org.apache.avro.AvroTypeException: Expected field name not found: s

avro-user | Marvin Froeder | 1 month 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

    Avro Cookbook : Part III - Jeff Li

    jeffli.me | 1 year ago
    org.apache.avro.AvroTypeException: Expected start-union. Got VALUE_STRING
  2. 0

    Avro – A Serialization Framework – Part 1 | Treselle Systems

    treselle.com | 11 months ago
    org.apache.avro.AvroTypeException: Expected start-union. Got VALUE_STRING
  3. 0

    Avro, mail # user - Re: Generating an avro schema with optional values - 2014-04-11, 03:02

    search-hadoop.com | 1 year ago
    org.apache.avro.AvroTypeException: Expected start-union. Got END_OBJECT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to fix Expected start-union. Got VALUE_NUMBER_INT when converting JSON to Avro on the command line?

    Stack Overflow | 2 years ago | Emre Sevinç
    org.apache.avro.AvroTypeException: Expected start-union. Got VALUE_NUMBER_INT
  6. 0

    How to fix Expected start-union. Got VALUE_NUMBER_INT when converting JSON to Avro on the command line?

    avro-user | 2 years ago | Emre Sevinc
    org.apache.avro.AvroTypeException: Expected start-union. Got VALUE_NUMBER_INT

    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. org.apache.avro.AvroTypeException

      Expected field name not found: s

      at org.apache.avro.io.JsonDecoder.doAction()
    2. Apache Avro
      TestSpecificFromJson.testSchemaEvolution
      1. org.apache.avro.io.JsonDecoder.doAction(JsonDecoder.java:477)
      2. org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
      3. org.apache.avro.io.JsonDecoder.advance(JsonDecoder.java:139)
      4. org.apache.avro.io.JsonDecoder.readIndex(JsonDecoder.java:429)
      5. org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
      6. org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
      7. org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
      8. org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179)
      9. org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153)
      10. org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:232)
      11. org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222)
      12. org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175)
      13. org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153)
      14. org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145)
      15. org.apache.avro.specific.TestSpecificFromJson.testSchemaEvolution(TestSpecificFromJson.java:56)
      15 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      13 frames
    5. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    6. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames