Attempting to lock a transient node via the session's lock manager before calling session.save() produces the following exception: Caused by: java.lang.NullPointerException at org.modeshape.jcr.cache.document.SessionNode.updateReferences(SessionNode.java:791) at org.modeshape.jcr.cache.document.SessionNode.setProperty(SessionNode.java:766) at org.modeshape.jcr.RepositoryLockManager.lock(RepositoryLockManager.java:209) ... 38 more
Horia Chiorean <hchiorea> made a comment on jira MODE-2047 According to the Javadoc from the spec methods any kind of locking on node which contains modifications should throw an {{InvalidItemStateException}}
Horia Chiorean <hchiorea> made a comment on jira MODE-2047 According to the Javadoc from the spec methods any kind of locking on a node which contains modifications should throw an {{InvalidItemStateException}}
Randall Hauch <rhauch> made a comment on jira MODE-2047 Merged into the 'master' branch. Leaving open until it is also cherry-picked to the '3.3.x-prod-ip6.0' branch.
https://github.com/jboss-integration/modeshape/commit/81fa8726030d69318163cec356b28d9dc08a7597
Randall Hauch <rhauch> updated the status of jira MODE-2047 to Closed
Fixed before GA - setting to requires_doc_text- accordingly
Retested on GA.