You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Mario Molina (Jira)" <ji...@apache.org> on 2020/02/24 01:51:00 UTC
[jira] [Created] (AVRO-2761) Prevent NPE when creating
SpecificDatumReader/Writer
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)