Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-278

Early initialization leads to a warning about the entity validation manager not being available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.53.0
    • None
    • None
    • None
    • Unknown

    Description

      It also fixes the following warning:

      2024-10-10 14:58:35,924 [main] WARN  o.x.c.c.f.i.i.XWikiConverter   - No EntityNameValidationManager implementation could be foundorg.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.model.validation.internal.DefaultEntityNameValidationManager] identified by type [interface org.xwiki.model.validation.EntityNameValidationManager] and hint [default]        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:332)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:320)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:290)        at org.xwiki.contrib.confluence.filter.internal.input.XWikiConverter.getValidationManager(XWikiConverter.java:57)        at org.xwiki.contrib.confluence.filter.internal.input.XWikiConverter.initialize(XWikiConverter.java:51)        at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:550)        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:636)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:329)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:320)        at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:591)        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:540)        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:636)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:329)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:320)        at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:591)        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:540)        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:642)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:329)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:320)        at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:591)        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:540)        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:636)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:329)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:320)        at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:178)        at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:143)        at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:301)        at org.xwiki.component.internal.StackingComponentEventManager.sendEvent(StackingComponentEventManager.java:151)        at org.xwiki.component.internal.StackingComponentEventManager.flushEvents(StackingComponentEventManager.java:92)        at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:133)        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1049)        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:624)        at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:984)        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:740)        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:392)        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1304)        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:901)        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:306)        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:532)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)        at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40)        at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)        at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:516)        at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:151)        at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:210)        at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:442)        at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:61)        at org.eclipse.jetty.util.Scanner$DiscreteListener.pathAdded(Scanner.java:284)        at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:896)        at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:862)        at org.eclipse.jetty.util.Scanner.scan(Scanner.java:769)        at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:658)        at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:630)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)        at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:182)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)        at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:605)        at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:246)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)        at org.eclipse.jetty.server.Server.start(Server.java:470)        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:121)        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)        at org.eclipse.jetty.server.Server.doStart(Server.java:415)        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)        at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1919)        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:568)        at org.eclipse.jetty.start.Main.invokeMain(Main.java:229)        at org.eclipse.jetty.start.Main.start(Main.java:528)        at org.eclipse.jetty.start.Main.main(Main.java:76)Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.model.validation.internal.ReplaceCharacterEntityNameValidation] identified by type [interface org.xwiki.model.validation.EntityNameValidation] and hint [ReplaceCharacterEntityNameValidation]        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:332)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:320)        at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:591)        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:540)        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:636)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:329)        ... 75 common frames omittedCaused by: java.lang.IllegalArgumentException: An Entity Reference name cannot be null or empty        at org.xwiki.model.reference.EntityReference.setName(EntityReference.java:213)        at org.xwiki.model.reference.EntityReference.<init>(EntityReference.java:186)        at org.xwiki.model.reference.EntityReference.<init>(EntityReference.java:143)        at org.xwiki.model.reference.WikiReference.<init>(WikiReference.java:61)        at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getCurrentWikiReference(AbstractDocumentConfigurationSource.java:194)        at org.xwiki.model.validation.internal.EntityNameValidationConfigurationSource.getDocumentReference(EntityNameValidationConfigurationSource.java:55)        at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getCacheKeyPrefix(AbstractDocumentConfigurationSource.java:129)        at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:339)        at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:313)        at org.xwiki.model.validation.internal.DefaultReplaceCharacterEntityNameValidationConfiguration.getForbiddenCharacters(DefaultReplaceCharacterEntityNameValidationConfiguration.java:58)        at org.xwiki.model.validation.internal.DefaultReplaceCharacterEntityNameValidationConfiguration.getCharacterReplacementMap(DefaultReplaceCharacterEntityNameValidationConfiguration.java:74)        at org.xwiki.model.validation.internal.ReplaceCharacterEntityNameValidation.initialize(ReplaceCharacterEntityNameValidation.java:62)        at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)        at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:550)        at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:636)        at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:329)        ... 80 common frames omitted 

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: