Description
In some context (not full installed extension) the following error log can appear
Failed to send event [org.xwiki.bridge.event.DocumentUpdatedEvent@cac03ca3] to listener [org.xwiki.contrib.replication.entity.internal.DocumentReplicationListener@4da06351] class java.lang.NullPointerException: null at org.xwiki.contrib.replication.entity.internal.controller.DefaultDocumentReplicationController.onDocumentUpdated(DefaultDocumentReplicationController.java:80) at org.xwiki.contrib.replication.entity.internal.DocumentReplicationListener.onEvent(DocumentReplicationListener.java:111) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:320) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:285) at com.xpn.xwiki.XWiki.afterSave(XWiki.java:2015) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:2093) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocumentSetContextUser(DocumentMergeImporter.java:208) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:154) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.importDocument(DocumentMergeImporter.java:117) at org.xwiki.extension.xar.internal.handler.packager.Packager.importDocumentToWiki(Packager.java:230) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:184) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:157) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:148) at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:201) at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:166) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:330) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:233) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:181) at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:154) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243) at org.xwiki.job.AbstractJob.run(AbstractJob.java:220) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
I'm not completely sure where the null is coming from, but it might come from the fact that no controller has been configured when several are available. In that case, is should fallback on the first found one.