You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/12/01 09:22:59 UTC
[jira] [Commented] (AVRO-1966) NPE When copying builder with
nullable record
[ https://issues.apache.org/jira/browse/AVRO-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15711444#comment-15711444 ]
ASF subversion and git services commented on AVRO-1966:
-------------------------------------------------------
Commit a53a4fd10072471aa7c8170499a10792e61e0d95 in avro's branch refs/heads/master from [~nielsbasjes]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=a53a4fd ]
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: 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)