Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8692

ArrayIndexOutOfBoundsException may be thrown in RegionAdvisor.processProfilesQueuedDuringInitialization

    XMLWordPrintableJSON

Details

    Description

      If RegionAdvisor.buckets == null at the time the value of serials is generated, an ArrayIndexOutOfBoundsException may be thrown in RegionAdvisor.processProfilesQueuedDuringInitialization if buckets have been initialized at that point.

      Code where ArrayIndexOutOfBoundsException might be thrown in RegionAdvisor.processProfilesQueuedDuringInitialization():

      for (int i = 0; i < buckets.length; i++) {
        BucketAdvisor ba = buckets[i].getBucketAdvisor();
        int serial = qbp.serials[i]; <<< Exception thrown here
        if (serial != ILLEGAL_SERIAL) {
          ba.removeIdWithSerial(qbp.memberId, serial, qbp.destroyed);
        }
      }
      

       

      Attachments

        Activity

          People

            sabbey37 Sarah Abbey
            sabbey37 Sarah Abbey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: