Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-309

Cogroup4 throws ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0, 0.8.2
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

        1. fix_cogroup4.patch
          2 kB
          Nathaniel Langlois

          Activity

            People

            • Assignee:
              jwills Josh Wills
              Reporter:
              ntlanglois Nathaniel Langlois
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: