Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Alireza Sh, 1 year ago
Field industry type:STRING pos:2 not set and has no default value
via Stack Overflow by Shardul Shinde
, 2 years ago
Field dataTypeGroupName type:UNION pos:0 not set and has no default value
org.apache.avro.AvroRuntimeException: Field 
 industry type:STRING pos:2 not set and has no default value	at org.apache.avro.generic.GenericData.getDefaultValue(GenericData.java:874)	at org.apache.avro.data.RecordBuilderBase.defaultValue(RecordBuilderBase.java:135)	at org.apache.avro.generic.GenericRecordBuilder.getWithDefault(GenericRecordBuilder.java:232)	at org.apache.avro.generic.GenericRecordBuilder.build(GenericRecordBuilder.java:209)	at io.confluent.examples.streams.PageViewRegionExampleDriver.lambda$produceInputs$0(PageViewRegionExampleDriver.java:88)	at java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250)	at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110)	at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)	at io.confluent.examples.streams.PageViewRegionExampleDriver.produceInputs(PageViewRegionExampleDriver.java:89)	at io.confluent.examples.streams.PageViewRegionExampleDriver.main(PageViewRegionExampleDriver.java:55)