You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Vishwas (Jira)" <ji...@apache.org> on 2019/09/26 05:53:00 UTC

[jira] [Updated] (BEAM-6657) java.lang.ArrayIndexOutOfBoundsException

     [ https://issues.apache.org/jira/browse/BEAM-6657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vishwas updated BEAM-6657:
--------------------------
    Attachment: TestTextIo.java

> java.lang.ArrayIndexOutOfBoundsException 
> -----------------------------------------
>
>                 Key: BEAM-6657
>                 URL: https://issues.apache.org/jira/browse/BEAM-6657
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.9.0
>            Reporter: Joan Puig
>            Priority: Major
>         Attachments: CSVToRowWithTransform.java, TestTextIo.java, in.csv, log.txt
>
>
> Getting {{java.lang.ArrayIndexOutOfBoundsException}} when calling {{ProcessContext.output()}} in a {{DoFn<Row,Row>}}
> *Details:*
>  After some debugging, it seems like it's trying to encode the output {{Row}} using the input {{Row}}'s {{Schema}}.
> Attached minimum example, test input file (in.txt) and log.txt



--
This message was sent by Atlassian Jira
(v8.3.4#803005)