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

Int2IntRBT fails with ArrayIndexOutOfBounds exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.6.0SDK
    • 2.7.0SDK
    • Core Java Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: