You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/09 16:19:00 UTC

[jira] [Commented] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40

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

Claus Ibsen commented on CAMEL-13737:
-------------------------------------

Next time ask on the user mailing list or SO first for getting help.

> [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: Major
>         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)