You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2013/12/04 18:48:41 UTC
[jira] [Resolved] (CRUNCH-309) Cogroup4 throws
ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CRUNCH-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Wills resolved CRUNCH-309.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.9.0
Ugh-- that was a silly one. Thanks Nathan!
> 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
> Fix For: 0.9.0
>
> 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)