[ 
https://issues.apache.org/jira/browse/AVRO-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709751#comment-15709751
 ] 

ASF GitHub Bot commented on AVRO-1966:
--------------------------------------

GitHub user nielsbasjes opened a pull request:

    https://github.com/apache/avro/pull/166

    AVRO-1966: Java: Fix NPE When copying builder with nullable record.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nielsbasjes/avro AVRO-1966

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/avro/pull/166.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #166
    
----
commit a53a4fd10072471aa7c8170499a10792e61e0d95
Author: Niels Basjes <[email protected]>
Date:   2016-11-30T20:50:13Z

    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)

Reply via email to