[ 
https://issues.apache.org/jira/browse/AVRO-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Skraba resolved AVRO-2761.
-------------------------------
    Resolution: Fixed

> 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.10.0
>
>
> 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)

Reply via email to