Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4267

Int2IntRBT fails with ArrayIndexOutOfBounds exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6.0SDK
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      Int2IntRBT space allocation using the klrp mode has bad logic for expanding the values[] int array - it doesn't get called at the right times. A user observed getting an array index out of bounds. I put in a test case which added 6-7 million entries, and it failed after about 6.3 million.

        Attachments

          Activity

            People

            • Assignee:
              schor Marshall Schor
              Reporter:
              schor Marshall Schor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: