-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Final, 3.8.1.Final
When there are listeners registered for REMOVE events which also filter nodes based on a given type and the parents of such matching nodes are removed in a given session, the following exception is raised:
odeshape-event-dispatcher-2-thread-8 10:53:08,809 ERROR Error checking primary type 'null' with mixins of 'null' against type names of '[nt:unstructured]' javax.jcr.PathNotFoundException: No node exists at path '/testroot/parent' in workspace "ws1" at org.modeshape.jcr.JcrSession.cachedNode(JcrSession.java:623) at org.modeshape.jcr.JcrSession.node(JcrSession.java:655) at org.modeshape.jcr.JcrSession.node(JcrSession.java:674) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.acceptBasedOnNodeTypeName(JcrObservationManager.java:1020) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.shouldRejectChange(JcrObservationManager.java:943) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.processChange(JcrObservationManager.java:787) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.convert(JcrObservationManager.java:766) at org.modeshape.jcr.JcrObservationManager$JcrListenerAdapter.notify(JcrObservationManager.java:274) at org.modeshape.jcr.bus.RepositoryChangeBus$ChangeSetListenerConsumerAdapter.consume(RepositoryChangeBus.java:161) at org.modeshape.jcr.bus.RepositoryChangeBus$ChangeSetListenerConsumerAdapter.consume(RepositoryChangeBus.java:155) at org.modeshape.common.collection.ring.RingBuffer$ConsumerRunner.run(RingBuffer.java:462) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)
- is duplicated by
-
MODE-2417 Event listener throwing RepositoryException
- Closed