[
https://issues.apache.org/jira/browse/AVRO-1967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15711893#comment-15711893
]
ASF GitHub Bot commented on AVRO-1967:
--------------------------------------
GitHub user nielsbasjes opened a pull request:
https://github.com/apache/avro/pull/168
AVRO-1967: Java: Fix NPE when calling getXyzBuilder on instance where the
xyz is null
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nielsbasjes/avro AVRO-1967
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/168.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 #168
----
commit f249b18d937e20c3457f010658e0e7e477724033
Author: Niels Basjes <[email protected]>
Date: 2016-12-01T12:44:57Z
AVRO-1967: Java: Fix NPE when calling getXyzBuilder on instance where the
xyz is null
----
> NPE calling getXyzBuilder on instance where the xyz is null
> -----------------------------------------------------------
>
> Key: AVRO-1967
> URL: https://issues.apache.org/jira/browse/AVRO-1967
> Project: Avro
> Issue Type: Bug
> Reporter: Niels Basjes
> Assignee: Niels Basjes
> Priority: Critical
> Fix For: 1.8.2
>
>
> Assume a Record with a nested nullable record that has been set to the value
> 'null'.
> Then call the getXxxBuilder method on that record to obtain a builder for
> that nested record and you get an NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)