org.apache.avro.SchemaParseException: Illegal initial character: {"type":"record","name":"WS_MESSAGES","fields":[{"name":"message_id","type":"string"},{"name":"action","type":"string"},{"name":"status","type":"string"},{"name":"request","type":"string"},{"name":"response","type":"string"}]}

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting Illegal initial character: in schema parsing

    Stack Overflow | 7 days ago | Amritendu Panda
    org.apache.avro.SchemaParseException: Illegal initial character: {"type":"record","name":"WS_MESSAGES","fields":[{"name":"message_id","type":"string"},{"name":"action","type":"string"},{"name":"status","type":"string"},{"name":"request","type":"string"},{"name":"response","type":"string"}]}
  2. 0

    GitHub comment 4#88214093

    GitHub | 2 years ago | karrick
    org.apache.avro.SchemaParseException: No type: {"type":{"fields":[{"default":null,"type":["null","string"],"name":"eventname"}],"name":"detailstype","type":"record"},"name":"details"}
  3. 0

    GitHub comment 178#171015449

    GitHub | 1 year ago | denis-yuen
    org.apache.avro.SchemaParseException: Illegal character in: draft-3.dev1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 394#236786555

    GitHub | 7 months ago | jcustenborder
    org.apache.avro.SchemaParseException: Illegal initial character: 1

  1. Handemelindo 3 times, last 2 months ago
3 unregistered visitors
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.SchemaParseException

    Illegal initial character: {"type":"record","name":"WS_MESSAGES","fields":[{"name":"message_id","type":"string"},{"name":"action","type":"string"},{"name":"status","type":"string"},{"name":"request","type":"string"},{"name":"response","type":"string"}]}

    at org.apache.avro.Schema.validateName()
  2. Apache Avro
    Schema$Parser.parse
    1. org.apache.avro.Schema.validateName(Schema.java:1079)
    2. org.apache.avro.Schema.access$200(Schema.java:79)
    3. org.apache.avro.Schema$Name.<init>(Schema.java:436)
    4. org.apache.avro.Schema$Names.get(Schema.java:1043)
    5. org.apache.avro.Schema.parse(Schema.java:1160)
    6. org.apache.avro.Schema$Parser.parse(Schema.java:965)
    7. org.apache.avro.Schema$Parser.parse(Schema.java:953)
    7 frames
  3. main.scala
    SampleStreaming.main
    1. main.scala.SampleStreaming$.main(SampleStreaming.scala:42)
    2. main.scala.SampleStreaming.main(SampleStreaming.scala)
    2 frames