|
Description: |
When a xobject is deleted, it's null in the new version of the document, but the code seems to assume there is always a xobject in the new version.
{noformat} 2024-08-29 23:00:10,523 [FAILED - Replication receiver] ERROR .o.i.DefaultObservationManager - Failed to send event [org.xwiki.bridge.event.DocumentUpdatingEvent@ff0ada73] to listener [org.xwiki.contrib.urlnormalizer.internal.URLNormalizerListener@5f062729] java.lang.NullPointerException: null at org.xwiki.contrib.urlnormalizer.internal.ModifiedObjectDocumentNormalizer.normalize(ModifiedObjectDocumentNormalizer.java:71) at org.xwiki.contrib.urlnormalizer.internal.DefaultURLNormalizationManager.applyNormalizers(DefaultURLNormalizationManager.java:179) at org.xwiki.contrib.urlnormalizer.internal.DefaultURLNormalizationManager.normalize(DefaultURLNormalizationManager.java:131) at org.xwiki.contrib.urlnormalizer.internal.DefaultURLNormalizationManager.normalize(DefaultURLNormalizationManager.java:80) at org.xwiki.contrib.urlnormalizer.internal.URLNormalizerListener.normalize(URLNormalizerListener.java:100) at org.xwiki.contrib.urlnormalizer.internal.URLNormalizerListener.onEvent(URLNormalizerListener.java:83) 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.beforeSave(XWiki.java:2015) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:2074) at org.xwiki.contrib.replication.entity.internal.update.DocumentUpdateReplicationReceiver.update(DocumentUpdateReplicationReceiver.java:149) at org.xwiki.contrib.replication.entity.internal.update.DocumentUpdateReplicationReceiver.receiveDocument(DocumentUpdateReplicationReceiver.java:93) at org.xwiki.contrib.replication.entity.internal.AbstractDocumentReplicationReceiver.receiveEntity(AbstractDocumentReplicationReceiver.java:78) at org.xwiki.contrib.replication.entity.internal.AbstractEntityReplicationReceiver.receive(AbstractEntityReplicationReceiver.java:57) at org.xwiki.contrib.replication.internal.message.ReplicationReceiverMessageQueue.handle(ReplicationReceiverMessageQueue.java:146) at org.xwiki.contrib.replication.internal.message.ReplicationReceiverMessageQueue.handle(ReplicationReceiverMessageQueue.java:56) at org.xwiki.contrib.replication.internal.message.AbstractReplicationMessageQueue.handleFailed(AbstractReplicationMessageQueue.java:190) at org.xwiki.contrib.replication.internal.message.AbstractReplicationMessageQueue.runError(AbstractReplicationMessageQueue.java:172) at java.base/java.lang.Thread.run(Thread.java:829) {noformat} |
|