CRX 2.2: DelegatingObservationDispatcher: Error while dispatching events… java.lang.NullPointerException


If you are using CQ5.3/CRX2.2 you may notice the following error in the log files:

*ERROR* DelegatingObservationDispatcher: Error while dispatching events. (, line 129)
  at org.apache.jackrabbit.core.observation.EventConsumer.canRead(
  at org.apache.jackrabbit.core.observation.EventConsumer.prepareEvents(
  at org.apache.jackrabbit.core.observation.ObservationDispatcher.prepareEvents(
  at org.apache.jackrabbit.core.observation.EventStateCollection.prepare(
  at org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher.dispatch(
  at org.apache.jackrabbit.core.observation.DelegatingObservationDispatcher.dispatchEvents(
  at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(


This error occurs due to an issue in Jackrabbit issue:

It occurs as the canRead() method in is checking for read access on an item that does not exist anymore.  It should therefore throw a RepositoryException, instead of resulting in an NPE.

We have had previous reports of this issue, but it did not have any effect on the server state or stability. In the later hotfixpacks for CRX, this NPE will be logged at the WARN level and not ERROR.


This has been fixed in a later release of the Jackrabbit core, version 2.4.  You can ignore this error or apply the latest crx-hotfixpack from PackageShare to resolve the problem.

reference: (43919/CRX-4113)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 10.0/10 (1 vote cast)