Mario Molina created AVRO-2761:
----------------------------------

             Summary: 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
             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)

Reply via email to