Please remove this field. The `JcrSession.isReadOnly()` method can instead call `this.cache.isReadOnly()`.