You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Nathaniel Langlois (JIRA)" <ji...@apache.org> on 2013/12/04 01:43:36 UTC

[jira] [Updated] (CRUNCH-309) Cogroup4 throws ArrayIndexOutOfBoundsException

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

Nathaniel Langlois updated CRUNCH-309:
--------------------------------------

    Attachment: fix_cogroup4.patch

> Cogroup4 throws ArrayIndexOutOfBoundsException
> ----------------------------------------------
>
>                 Key: CRUNCH-309
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-309
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Nathaniel Langlois
>            Assignee: Josh Wills
>         Attachments: fix_cogroup4.patch
>
>
> Cogroup.cogroup(int, PTable, PTable, PTable, PTable) calls a Cogroup.cogroup(PType, TupleFactory, int, PTable, PTable...) helper, but it does not include the 4th PTable parameter in the call.  This causes an ArrayIndexOutOfBoundsException when the TupleFactory.makeTuple(Object...) implementation tries to read from the 4th value's index.



--
This message was sent by Atlassian JIRA
(v6.1#6144)