[ https://issues.apache.org/jira/browse/AVRO-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717784#comment-16717784 ]
ASF subversion and git services commented on AVRO-1966: ------------------------------------------------------- Commit 8bed58c6ca57f43c20d2c0eae30e0d4e82d5e6fc in avro's branch refs/heads/branch-1.8 from [~nielsbasjes] [ https://gitbox.apache.org/repos/asf?p=avro.git;h=8bed58c ] AVRO-1966: Java: Fix NPE When copying builder with nullable record. > NPE When copying builder with nullable record > --------------------------------------------- > > Key: AVRO-1966 > URL: https://issues.apache.org/jira/browse/AVRO-1966 > Project: Apache 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 (v7.6.3#76005)