You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Niels Basjes (JIRA)" <ji...@apache.org> on 2017/12/23 07:45:00 UTC

[jira] [Updated] (AVRO-1966) NPE When copying builder with nullable record

     [ https://issues.apache.org/jira/browse/AVRO-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niels Basjes updated AVRO-1966:
-------------------------------
    Fix Version/s:     (was: 1.8.2)
                   1.8.3
                   1.9.0

> NPE When copying builder with nullable record
> ---------------------------------------------
>
>                 Key: AVRO-1966
>                 URL: https://issues.apache.org/jira/browse/AVRO-1966
>             Project: Avro
>          Issue Type: Bug
>    Affects Versions: 1.8.1
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>            Priority: Critical
>             Fix For: 1.9.0, 1.8.3
>
>
> Assume a schema with a record that embeds a record that is optional (i.e. the reference is union with null) and has the default value null.
> Then create a builder and copy that builder into a new builder.
> Using this copy will yield a NulPointerException. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)