Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2047

Attempting to lock a transient node produces NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.6.0.Final, 3.3.x-prod-ip6.0
    • 3.5.0.Final
    • JCR
    • None

      Create a transient node with the mix:lockable mixin.

      Attempting to lock the 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
      

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: