Highlighted

Getting [sling-oak-observation-10] error on AEM 64

Avatar

Avatar

cnur24357457

Avatar

cnur24357457

cnur24357457

19-04-2019

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)

Replies

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

19-04-2019

Highlighted

Avatar

Avatar

cnur24357457

Avatar

cnur24357457

cnur24357457

21-04-2019

I tested with same code and I got above error.

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

21-04-2019

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.