Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
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); } }