Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-103

null pointer exception with null avro collections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • Core
    • None

    Description

      If you attempt to create an avro record containing a collection, you may get a null pointer exception if the collection is null.

      For example, suppose you had a ptype of Avros.tableOf(Avros.ints(), Avros.collections(Avros.ints())). When emitting the output records, you would get a null pointer exception if you emitted Pair.of(1,(Collection<Integer>)null)

      (I'll submit a patch to fix)

      Attachments

        1. CRUNCH-103.patch
          0.6 kB
          Joseph Adler
        2. CRUNCH-103.patch
          2 kB
          Josh Wills

        Activity

          People

            jwills Josh Wills
            jadler Joseph Adler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: