[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=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)
[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=16302031#comment-16302031 ] ASF GitHub Bot commented on AVRO-1966: -- Github user nielsbasjes closed the pull request at: https://github.com/apache/avro/pull/264 > 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.4.14#64029)
[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=16302027#comment-16302027 ] ASF subversion and git services commented on AVRO-1966: --- Commit 8bed58c6ca57f43c20d2c0eae30e0d4e82d5e6fc in avro's branch refs/heads/branch-1.8 from [~nielsbasjes] [ https://git-wip-us.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: 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.4.14#64029)
[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=16287537#comment-16287537 ] ASF GitHub Bot commented on AVRO-1966: -- GitHub user nielsbasjes opened a pull request: https://github.com/apache/avro/pull/264 Backporting two NPE fixes from master to branch-1.8 I cherry-picked the commits for AVRO-1966 and AVRO-1967 which are both fixes for NPE situations that I would really like to be part of the next 1.8.x release. I only had conflicts in the CHANGES.txt and the build ran fine on my machine. Please double check if I did it correctly. You can merge this pull request into a Git repository by running: $ git pull https://github.com/nielsbasjes/avro AVRO-1966-1.8 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/avro/pull/264.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 #264 commit 50d63a1bf1ee7cfa11303cc9d2b7ae5d8c707265 Author: Niels Basjes Date: 2016-11-30T20:50:13Z AVRO-1966: Java: Fix NPE When copying builder with nullable record. commit 4ed487786bb75732d8d86f7cd4be39f7a615b705 Author: Niels Basjes Date: 2016-12-01T12:44:57Z AVRO-1967: Java: Fix NPE when calling getXyzBuilder on instance where the xyz is null > 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.4.14#64029)
[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=15711445#comment-15711445 ] ASF GitHub Bot commented on AVRO-1966: -- Github user asfgit closed the pull request at: https://github.com/apache/avro/pull/166 > 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)
[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)
[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=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 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)