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 2020/02/26 16:13:00 UTC

[jira] [Commented] (AVRO-2761) Prevent NPE when creating SpecificDatumReader/Writer

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

ASF subversion and git services commented on AVRO-2761:
-------------------------------------------------------

Commit 9d26540d9259f8e05d32e9f300f171f2530a17cd in avro's branch refs/heads/master from Mario Molina
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=9d26540 ]

AVRO-2761: Prevent NPE when creating SpecificDatumReader/Writer (#831)



> Prevent NPE when creating SpecificDatumReader/Writer
> ----------------------------------------------------
>
>                 Key: AVRO-2761
>                 URL: https://issues.apache.org/jira/browse/AVRO-2761
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.9.2
>            Reporter: Mario Molina
>            Priority: Minor
>             Fix For: 1.9.3
>
>
> In versions prior to 1.9.X, when creating an SpecificDatumReader/Writer object (passing a schema as argument) and in case the schema was null, the default value was the instance and it didn't throw any exception.
> In versions 1.9.X, those constructors will throw a NullPointerException in case the schema is null.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)