Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1198

Malformed Avro data may cause confusing ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.2
    • 1.7.4
    • java
    • None

    Description

      I am currently debugging an issue where I am getting an ArrayIndexOutOfBoundsException from the decoder while reading some Avro data. Turns out that the integer indicating number of bytes to read next is negative. It would be better if a more helpful error message were provided.

      Attachments

        1. AVRO-1198.patch
          0.7 kB
          Doug Cutting
        2. AVRO-1198-1.patch
          0.8 kB
          Mike Percy

        Issue Links

          Activity

            People

              mpercy Mike Percy
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: