[ 
https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881383#comment-16881383
 ] 

michael elbaz commented on CAMEL-13737:
---------------------------------------

Hello [~davsclaus] SO what that mean ?



> [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
> ----------------------------------------------------
>
>                 Key: CAMEL-13737
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13737
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-avro
>    Affects Versions: 2.24.1
>            Reporter: michael elbaz
>            Priority: Minor
>         Attachments: avro1.avro
>
>
> When i try to deserialize some avro file like provided i got 
> java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the 
> camel component it doesn't put the schema in the generated avro file it 
> should not ?
> This code work for transforming the provided avro file to json
> {code:java}
> private static Iterator<?> toJsonIterator(File file) throws IOException {
>     return new DataFileReader<>(file, new GenericDatumReader<>());
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to