crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CRUNCH-309) Cogroup4 throws ArrayIndexOutOfBoundsException
Date Wed, 04 Dec 2013 17:48:41 GMT

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

Mime
View raw message