avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Basjes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1966) NPE When copying builder with nullable record
Date Wed, 30 Nov 2016 20:36:58 GMT
Niels Basjes created AVRO-1966:
----------------------------------

             Summary: 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.8.2


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.3.4#6332)

Mime
View raw message