Fix nullpointer on PersistenceWindowPool.acquire when accessing brickArray.