Avro
  1. Avro
  2. AVRO-86

NullPointerException when using reflection to create a schema for a class without a package.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.4.0
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    1. AVRO-86.patch
      1 kB
      Eelco Hillenius
    2. AVRO-86.patch
      4 kB
      Doug Cutting

      Activity

      Hide
      Eelco Hillenius added a comment -

      If an empty string for a package is acceptable, than the fix seems easy enough. See patch.

      Show
      Eelco Hillenius added a comment - If an empty string for a package is acceptable, than the fix seems easy enough. See patch.
      Hide
      Doug Cutting added a comment -

      This needs a test case.

      Show
      Doug Cutting added a comment - This needs a test case.
      Hide
      Doug Cutting added a comment -

      Here's an updated patch with a test.

      Show
      Doug Cutting added a comment - Here's an updated patch with a test.
      Hide
      Scott Carey added a comment -

      +1

      Patch looks good to me.

      Show
      Scott Carey added a comment - +1 Patch looks good to me.
      Hide
      Thiruvalluvan M. G. added a comment -

      +1

      The patch looks good to me, too.

      Show
      Thiruvalluvan M. G. added a comment - +1 The patch looks good to me, too.
      Hide
      Doug Cutting added a comment -

      I committed this.

      Show
      Doug Cutting added a comment - I committed this.

        People

        • Assignee:
          Doug Cutting
          Reporter:
          Doug Cutting
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development