public void reinit(int maxSize) {
    if (maxSize <= 0) {
      throw new IllegalArgumentException("Invalid size " + maxSize + " to ObjectPartList.reinit");
    }
    objectTypeArray = new byte[maxSize];
    objects.clear();
    keys.clear();
  }
unprotected access to the objects collection, which may be null
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ObjectPartList.java