[
https://issues.apache.org/jira/browse/AVRO-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-259:
------------------------------
Resolution: Fixed
Assignee: Kevin Oliver
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I just committed this. I also implemented the null check for
GenericData.Record.
Sorry it took me so long.
Thanks, Kevin!
> GenericData.Array should fail fast when constructed with a null Schema
> ----------------------------------------------------------------------
>
> Key: AVRO-259
> URL: https://issues.apache.org/jira/browse/AVRO-259
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Kevin Oliver
> Assignee: Kevin Oliver
> Priority: Trivial
> Fix For: 1.3.0
>
> Attachments: AVRO-259.patch
>
>
> GenericData.Array's constructor takes a Schema but doesn't validate that it
> is not null. The schema is assumed to be not null in other places (equals()
> and hashCode()) which then trigger NPEs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.