org.apache.avro.AvroTypeException

Expected field name not found: s


Solutions on the web50

Solution icon of apache
via avro-user by Marvin Froeder, 3 months ago
Expected field name not found: s

Solution icon of github
via GitHub by moradology
, 1 year ago
Found geotrellis.raster.ByteArrayTile, expecting geotrellis.raster.ArrayMultibandTile, missing required field bands

Solution icon of github
Found { "type" : "record", "name" : "b", "fields" : [ { … /* schema of b */ … } ] }, expecting { "type" : "record", "name" : "a", "fields" : [ { … /* schema of a */ … } ], ... }

Solution icon of apache
via incubator-crunch-user by Micah Whitacre, 10 months ago
Found { "type" : "record", "name" : "Employee", "namespace" : "org.apache.crunch.test", "fields" : [ { "name" : "name", "type" : [ "string", "null" ] }, { "name" : "salary", "type" : "int" }, { "name" : "department

Solution icon of apache
via incubator-crunch-user by Micah Whitacre, 1 year ago
Found { "type" : "record", "name" : "Employee", "namespace" : "org.apache.crunch.test", "fields" : [ { "name" : "name", "type" : [ "string", "null" ] }, { "name" : "salary", "type" : "int" }, { "name" : "department

Solution icon of apache
via avro-user by Francois Forster, 1 year ago
Found { "type" : "record", "name" : "Result", "namespace" : "v2", "fields" : [ { "name" : "id", "type" : "string" }, { "name" : "text", "type" : "string" }, { "name" : "isRecommended", "type" : "boolean

Solution icon of apache
via avro-user by Francois Forster, 1 year ago
Found { "type" : "record", "name" : "Result", "namespace" : "v2", "fields" : [ { "name" : "id", "type" : "string" }, { "name" : "text", "type" : "string" }, { "name" : "isRecommended", "type" : "boolean

Solution icon of web
Found { "type" : "record", "name" : "partsupp", "namespace" : "com.gs.sdst.pl.avro.tpch", "fields" : [ { "name" : "ps_partkey", "type" : "long" }, { "name" : "ps_suppkey", "type" : "long" }, { "name

Solution icon of apache
via avro-user by Serge Blazhievsky, 1 month ago
Found { "type" : "record", "name" : "AVRO_NCP_ICM", "fields" : [ { "name" : "DATADATE", "type" : "string" }, { "name" : "ICM_CALLID", "type" : "string" }, { "name" : "AGENT_ELID", "type" : "string" }, { "name

Solution icon of apache
via avro-user by Serge Blazhievsky, 1 month ago
Found { "type" : "record", "name" : "AVRO_NCP_ICM", "fields" : [ { "name" : "DATADATE", "type" : "string" }, { "name" : "ICM_CALLID", "type" : "string" }, { "name" : "AGENT_ELID", "type" : "string

Stack trace

  • org.apache.avro.AvroTypeException: Expected field name not found: s at org.apache.avro.io.JsonDecoder.doAction(JsonDecoder.java:477) at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) at org.apache.avro.io.JsonDecoder.advance(JsonDecoder.java:139) at org.apache.avro.io.JsonDecoder.readIndex(JsonDecoder.java:429) at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:232) at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) at org.apache.avro.specific.TestSpecificFromJson.testSchemaEvolution(TestSpecificFromJson.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.