Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 59962 invoked from network); 17 Aug 2010 19:29:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 19:29:55 -0000 Received: (qmail 75292 invoked by uid 500); 17 Aug 2010 19:29:55 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 75115 invoked by uid 500); 17 Aug 2010 19:29:55 -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 75107 invoked by uid 99); 17 Aug 2010 19:29:54 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 19:29:54 +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; Tue, 17 Aug 2010 19:29:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7HJTG0L006355 for ; Tue, 17 Aug 2010 19:29:16 GMT Message-ID: <22536577.402501282073356319.JavaMail.jira@thor> Date: Tue, 17 Aug 2010 15:29: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 new version of the patch that preserves the original NullPointerException as the cause. If no one objects, I will commit this soon. > 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 > Assignee: Doug Cutting > Fix For: 1.4.0 > > Attachments: AVRO-615.patch, 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.