Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 80100 invoked from network); 19 Jan 2010 18:09:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 18:09:15 -0000 Received: (qmail 58507 invoked by uid 500); 19 Jan 2010 18:09:15 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 58428 invoked by uid 500); 19 Jan 2010 18:09:15 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 58418 invoked by uid 99); 19 Jan 2010 18:09:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 18:09:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 18:09:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B893D234C1F1 for ; Tue, 19 Jan 2010 10:08:54 -0800 (PST) Message-ID: <1984213362.344271263924534754.JavaMail.jira@brutus.apache.org> Date: Tue, 19 Jan 2010 18:08:54 +0000 (UTC) From: "Kevin Oliver (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-350) NPE on GenericData.Record.get(String) for a field that doesn't exist In-Reply-To: <948981206.343671263923155753.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Oliver updated AVRO-350: ------------------------------ Attachment: AVRO-350.patch > NPE on GenericData.Record.get(String) for a field that doesn't exist > -------------------------------------------------------------------- > > Key: AVRO-350 > URL: https://issues.apache.org/jira/browse/AVRO-350 > Project: Avro > Issue Type: Sub-task > Components: java > Affects Versions: 1.3.0 > Reporter: Kevin Oliver > Attachments: AVRO-350.patch > > > After the change in AVRO-278 to use arrays, GenericData.Record.get() gives an NPE if you ask for a field that doesn't exist in the schema. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.