org.apache.avro.AvroRuntimeException: Field industry type:STRING pos:2 not set and has no default value

Google Groups | Alireza Sh | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting Error When trying to use kafka stream PageViewRegionExampleDriver

    Google Groups | 4 months ago | Alireza Sh
    org.apache.avro.AvroRuntimeException: Field industry type:STRING pos:2 not set and has no default value
  2. 0

    Exception on empty game analysis

    GitHub | 9 months ago | alcibiade
    java.lang.NullPointerException: null
  3. 0

    How to convert a json object into Avro object if avro schema contains union in it

    Stack Overflow | 2 years ago | Shardul Shinde
    org.apache.avro.AvroRuntimeException: Field dataTypeGroupName type:UNION pos:0 not set and has no default value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.AvroRuntimeException

      Field industry type:STRING pos:2 not set and has no default value

      at org.apache.avro.generic.GenericData.getDefaultValue()
    2. Apache Avro
      GenericRecordBuilder.build
      1. org.apache.avro.generic.GenericData.getDefaultValue(GenericData.java:874)
      2. org.apache.avro.data.RecordBuilderBase.defaultValue(RecordBuilderBase.java:135)
      3. org.apache.avro.generic.GenericRecordBuilder.getWithDefault(GenericRecordBuilder.java:232)
      4. org.apache.avro.generic.GenericRecordBuilder.build(GenericRecordBuilder.java:209)
      4 frames
    3. io.confluent.examples
      PageViewRegionExampleDriver.lambda$produceInputs$0
      1. io.confluent.examples.streams.PageViewRegionExampleDriver.lambda$produceInputs$0(PageViewRegionExampleDriver.java:88)
      1 frame
    4. Java RT
      ReferencePipeline.forEach
      1. java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250)
      2. java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110)
      3. java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)
      4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      6. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      7. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      8. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      9. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      9 frames
    5. io.confluent.examples
      PageViewRegionExampleDriver.main
      1. io.confluent.examples.streams.PageViewRegionExampleDriver.produceInputs(PageViewRegionExampleDriver.java:89)
      2. io.confluent.examples.streams.PageViewRegionExampleDriver.main(PageViewRegionExampleDriver.java:55)
      2 frames