I am using the same code in below URL: aem63app-repo/SampleJCREvent.java at master · arunpatidar02/aem63app-repo · GitHub
19.04.2019 14:44:08.222 *ERROR* [sling-oak-observation-10] com.splunk.www.listeners.SampleJCREvent 12
javax.jcr.ItemNotFoundException: 12
at org.apache.jackrabbit.oak.jcr.session.PropertyImpl$8.perform(PropertyImpl.java:385) [org.apache.jackrabbit.oak-jcr:1.8.7]
at org.apache.jackrabbit.oak.jcr.session.PropertyImpl$8.perform(PropertyImpl.java:374) [org.apache.jackrabbit.oak-jcr:1.8.7]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:208) [org.apache.jackrabbit.oak-jcr:1.8.7]
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112) [org.apache.jackrabbit.oak-jcr:1.8.7]
at org.apache.jackrabbit.oak.jcr.session.PropertyImpl.getProperty(PropertyImpl.java:374) [org.apache.jackrabbit.oak-jcr:1.8.7]
at com.splunk.www.listeners.SampleJCREvent.onEvent(SampleJCREvent.java:100) [corp.splunk.com.wmd-app-splunkcom.core:1.0.0.SNAPSHOT]
at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java:190) [org.apache.jackrabbit.jackrabbit-jcr-commons:2.16.3]
at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor.java:508) [org.apache.jackrabbit.oak-jcr:1.8.7]
at org.apache.jackrabbit.oak.plugins.observation.FilteringDispatcher.contentChanged(FilteringDispatcher.java:53) [org.apache.jackrabbit.oak-core:1.8.7]
at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128) [org.apache.jackrabbit.oak-store-spi:1.8.7]
at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:122) [org.apache.jackrabbit.oak-store-spi:1.8.7]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Views
Replies
Total Likes
Views
Replies
Total Likes
I tested with same code and I got above error.
Views
Replies
Total Likes
I assume that you checked Creating an Event Listener for Adobe Experience Manager 6.4 for 6.4 as mentioned by Scott at the bottom of that thread.
Views
Replies
Total Likes
Views
Likes
Replies