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

NPE calling getXyzBuilder on instance where the xyz is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.9.0
    • None
    • None

    Description

      Assume a Record with a nested nullable record that has been set to the value 'null'.
      Then call the getXxxBuilder method on that record to obtain a builder for that nested record and you get an NPE.

      Attachments

        Issue Links

          Activity

            People

              nielsbasjes Niels Basjes
              nielsbasjes Niels Basjes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: