When a node is moved in a uncommitted Session1 (S), that was previously moved in a closed/committed Session0 (S'), any transient children nodes that are moved throw NPEs in the node memory manager tracking the uncommitted state.
Steps to reproduce:
- Start Sling docker container
- ` docker run -p 8080:8080 apache/sling`
- Install demo project
- Disable administrative login security, or create a rule for the servlet.
- Navigate to the Demo servlet
The servlet will catch the NPE and display it. The error occurs here. `base` is not null, but `head` is.
It seems that the `base` look up finds the segment metadata from Session0 (S') that has been dispatched (before the current session was created), and not recognizing that the parent is now a transient node in Session1 (S).
- links to