avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Oliver (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-259) GenericData.Array should fail fast when constructed with a null Schema
Date Fri, 08 Jan 2010 23:14:54 GMT

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

Kevin Oliver commented on AVRO-259:
-----------------------------------

Anything I can do to help this patch along? Was my initial assumption valid?

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


Mime
View raw message