Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 38677 invoked from network); 15 Jul 2010 20:40:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jul 2010 20:40:46 -0000 Received: (qmail 131 invoked by uid 500); 15 Jul 2010 20:40:46 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 99696 invoked by uid 500); 15 Jul 2010 20:40:45 -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 99688 invoked by uid 99); 15 Jul 2010 20:40:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 20:40:45 +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; Thu, 15 Jul 2010 20:40:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6FKWpSe024265 for ; Thu, 15 Jul 2010 20:32:51 GMT Message-ID: <494259.403461279225971861.JavaMail.jira@thor> Date: Thu, 15 Jul 2010 16:32:51 -0400 (EDT) From: "Jon Travis (JIRA)" To: dev@avro.apache.org Subject: [jira] Updated: (AVRO-598) ArrayIndexOutOfBoundsException after reading past a class that is not found In-Reply-To: <21098526.403161279225674920.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-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jon Travis updated AVRO-598: ---------------------------- Attachment: (was: SerializerTest.java) > ArrayIndexOutOfBoundsException after reading past a class that is not found > --------------------------------------------------------------------------- > > Key: AVRO-598 > URL: https://issues.apache.org/jira/browse/AVRO-598 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.3.3, 1.4.0 > Reporter: Jon Travis > > I have a use-case where I need to write serialized classes to a stream, and the reader of the stream may not have those classes. In such a case, I would like the reader to be able to invoke DataFileReader#invoke within a try{} block to catch the AvroRuntimeException(ClassNotFoundException) and move on. > This currently does not work, because of an exception thrown when retrieving a Symbol. > I've attached a test which demonstrates this problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.