-
Bug
-
Resolution: Done
-
Blocker
-
3.7.4.Final, 4.0.0.Final, 3.8.1.Final
-
None
When add nodes within transaction and has registered EventListener with nodeType restriction, sometimes happen exceptions logged by EventListenerAdapter (showcase in listenerAdapterExceptionTest):
org.modeshape.jcr.JcrObservationManager$ChangeSetConverter acceptBasedOnNodeTypeName SEVERE: Error checking primary type 'null' with mixins of 'null' against type names of '[nt:unstructured]' javax.jcr.PathNotFoundException: No node exists at path '/folder1/node69' in workspace "default" 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:1115) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.shouldRejectChange(JcrObservationManager.java:1043) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.processChange(JcrObservationManager.java:887) at org.modeshape.jcr.JcrObservationManager$ChangeSetConverter.convert(JcrObservationManager.java:866) at org.modeshape.jcr.JcrObservationManager$JcrListenerAdapter.notify(JcrObservationManager.java:374) 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:745)
In the second test (catchExceptionTest) we catch exception in the event handler (onEvent);
- is related to
-
MODE-2353 Concurrently creating child nodes for the same parent results in node loss when using Wildfly
- Resolved