Description
Caused by: java.lang.IllegalStateException: Not in edit mode
at org.apache.jackrabbit.core.state.LocalItemStateManager.cancel(LocalItemStateManager.java:357)
at org.apache.jackrabbit.core.lock.LockManagerImpl.removeLockProperties(LockManagerImpl.java:1010)
at org.apache.jackrabbit.core.lock.LockManagerImpl.unlock(LockManagerImpl.java:596)
at org.apache.jackrabbit.core.lock.LockManagerImpl.writeLockProperties(LockManagerImpl.java:953)
at org.apache.jackrabbit.core.lock.XALockManager.lock(XALockManager.java:82)
at org.apache.jackrabbit.core.lock.SessionLockManager.lock(SessionLockManager.java:180)