Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8038

Components are registered twice in unit tests for the legacy modules using aspectj

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The symptom is huge logs filled with:

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running com.xpn.xwiki.doc.XWikiDocumentTest
      20:53:47.200 [main] WARN  o.x.c.a.ComponentAnnotationLoader - Component [com.xpn.xwiki.DefaultSkinAccessBridge] which implements [role = [interface org.xwiki.bridge.SkinAccessBridge] hint = [default]] tried to overwrite component [com.xpn.xwiki.DefaultSkinAccessBridge]. However, no action was taken since both components have the same priority level of [1000].
      20:53:47.209 [main] WARN  o.x.c.a.ComponentAnnotationLoader - Component [com.xpn.xwiki.doc.DefaultDocumentAccessBridge] which implements [role = [interface org.xwiki.bridge.DocumentAccessBridge] hint = [default]] tried to overwrite component [com.xpn.xwiki.doc.DefaultDocumentAccessBridge]. However, no action was taken since both components have the same priority level of [1000].
      20:53:47.210 [main] WARN  o.x.c.a.ComponentAnnotationLoader - Component [com.xpn.xwiki.internal.ComponentManagerBridgeEventListener] which implements [role = [interface org.xwiki.observation.EventListener] hint = [componentManagerBridge]] tried to overwrite component [com.xpn.xwiki.internal.ComponentManagerBridgeEventListener]. However, no action was taken since both components have the same priority level of [1000].
      20:53:47.211 [main] WARN  o.x.c.a.ComponentAnnotationLoader - Component [com.xpn.xwiki.internal.DefaultCoreConfiguration] which implements [role = [interface com.xpn.xwiki.CoreConfiguration] hint = [default]] tried to overwrite component [com.xpn.xwiki.internal.DefaultCoreConfiguration]. However, no action was taken since both components have the same priority level of [1000].
      20:53:47.212 [main] WARN  o.x.c.a.ComponentAnnotationLoader - Component [com.xpn.xwiki.internal.DefaultXWikiStubContextProvider] which implements [role = [interface com.xpn.xwiki.util.XWikiStubContextProvider] hint = [default]] tried to overwrite component [com.xpn.xwiki.internal.DefaultXWikiStubContextProvider]. However, no action was taken since both components have the same priority level of [1000].
      20:53:47.212 [main] WARN  o.x.c.a.ComponentAnnotationLoader - Component [com.xpn.xwiki.internal.MessageToolVelocityContextInitializer] which implements [role = [interface org.xwiki.velocity.VelocityContextInitializer] hint = [messagetool]] tried to overwrite component [com.xpn.xwiki.internal.MessageToolVelocityContextInitializer]. However, no action was taken since both components have the same priority level of [1000].
      ...
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: