Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 21608 invoked from network); 16 Aug 2010 20:09:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Aug 2010 20:09:41 -0000 Received: (qmail 91372 invoked by uid 500); 16 Aug 2010 20:09:41 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 91268 invoked by uid 500); 16 Aug 2010 20:09:40 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 91260 invoked by uid 99); 16 Aug 2010 20:09:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 20:09:40 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 20:09:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7GK9GR7020398 for ; Mon, 16 Aug 2010 20:09:17 GMT Message-ID: <18388421.374611281989356958.JavaMail.jira@thor> Date: Mon, 16 Aug 2010 16:09:16 -0400 (EDT) From: "Doug Cutting (JIRA)" To: dev@avro.apache.org Subject: [jira] Updated: (AVRO-615) Explain NullPointerException In-Reply-To: <27937015.368571281977601468.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-615: ------------------------------ Attachment: AVRO-615.patch Here's a patch with a test. > Explain NullPointerException > ---------------------------- > > Key: AVRO-615 > URL: https://issues.apache.org/jira/browse/AVRO-615 > Project: Avro > Issue Type: Improvement > Components: java > Affects Versions: 1.3.3 > Reporter: John Kristian > Fix For: 1.4.0 > > Attachments: AVRO-615.patch > > > Please provide more information in the exception that results from attempting to write a null value that the schema doesn't allow. For example, include the names of the type, the field and the enclosing record type. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.