You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jon Travis (JIRA)" <ji...@apache.org> on 2010/07/15 22:30:52 UTC

[jira] Commented: (AVRO-598) ArrayIndexOutOfBoundsException after reading past a class that is not found

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

Jon Travis commented on AVRO-598:
---------------------------------

There is a copy-right bogusly attached on the SerializerTest which I need to remove and re-submit.  Can someone delete this attachment and I will re-submit?

> 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
>         Attachments: SerializerTest.java
>
>
> 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.