Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12561

Incompatibility problem between workspaces et odf plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.8.15, 4.9.2, 4.10.0
    • 4.8.14
    • None
    • None
    • 4.9.2
    • Oui

      Here is the ivy.xml file of my project (attached).

      I have both plugins odf and workspaces on my project.

      When i start project, i get following error :

      Catégorie : org.ametys.runtime.plugin.PluginsManager
      URI de la requête : /_admin/plugins/admin/config/set
      Message : Caught an exception loading components.
      Emplacement : org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:480)Pile d'appels :java.lang.Exception: Caught an exception trying to initialize the component org.ametys.core.ui.RelationsManager
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:236
      at org.ametys.runtime.plugin.component.PluginsComponentManager#initialize:61
      at org.ametys.runtime.plugin.PluginsManager#init:476
      at org.ametys.runtime.cocoon.TreeProcessor#compose:49
      at org.apache.avalon.framework.container.ContainerUtil#compose:174
      at org.apache.avalon.excalibur.component.DefaultComponentFactory#newInstance:266
      at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler#initialize:108
      at org.apache.avalon.excalibur.component.ExcaliburComponentManager#initialize:524
      at org.apache.cocoon.components.CocoonComponentManager#initialize:583
      at org.apache.avalon.framework.container.ContainerUtil#initialize:245
      at org.apache.cocoon.Cocoon#initialize:345
      at org.apache.avalon.framework.container.ContainerUtil#initialize:245
      at org.ametys.runtime.servlet.RuntimeServlet#_createCocoon:495
      at org.ametys.runtime.servlet.RuntimeServlet#_initAmetys:410
      at org.ametys.runtime.servlet.RuntimeServlet#restartCocoon:793
      at org.ametys.runtime.servlet.RuntimeServlet#service:758
      at javax.servlet.http.HttpServlet#service:623
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:199
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:144
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:51
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:168
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:144
      at org.apache.catalina.core.StandardWrapperValve#invoke:168
      at org.apache.catalina.core.StandardContextValve#invoke:90
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:481
      at org.apache.catalina.core.StandardHostValve#invoke:130
      at org.apache.catalina.valves.ErrorReportValve#invoke:93
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:660
      at org.apache.catalina.core.StandardEngineValve#invoke:74
      at org.apache.catalina.connector.CoyoteAdapter#service:346
      at org.apache.coyote.http11.Http11Processor#service:388
      at org.apache.coyote.AbstractProcessorLight#process:63
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:936
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1791
      at org.apache.tomcat.util.net.SocketProcessorBase#run:52
      at org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker:1190
      at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:659
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:63
      at java.base/java.lang.Thread#run:840Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.cms.relations.setparentcontent
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:236
      at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint#initializeExtensions:96
      at org.ametys.core.ui.AbstractClientSideExtensionPoint#initializeExtensions:216
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory#newInstance:243
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory#newInstance:208
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:230
      ... 38 moreCaused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.repository.AmetysObjectResolver (key [org.ametys.plugins.repository.AmetysObjectResolver]) (Key='org.ametys.plugins.repository.AmetysObjectResolver')
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:81
      at org.ametys.cms.clientsideelement.relations.SetContentAttributeClientSideElement#service:86
      at org.ametys.cms.content.referencetable.SetParentContentClientSideElement#service:50
      at org.apache.avalon.framework.container.ContainerUtil#service:144
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:394
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#newInstance:415
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:230
      ... 43 moreCaused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.repository.AmetysObjectResolver (key [org.ametys.plugins.repository.AmetysObjectResolver])
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:166
      at org.ametys.runtime.plugin.component.PluginsComponentManager#lookup:96
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:69
      ... 49 moreCaused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint (key [org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint]) (Key='org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint')
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:81
      at org.ametys.plugins.repository.AmetysObjectResolver#service:95
      at org.apache.avalon.framework.container.ContainerUtil#service:144
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:394
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:178
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:143
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:162
      ... 51 moreCaused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint (key [org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint])
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:166
      at org.ametys.runtime.plugin.component.PluginsComponentManager#lookup:96
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:69
      ... 57 moreCaused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.cms.repository.ContentFactory
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:236
      at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint#initializeExtensions:96
      at org.ametys.plugins.repository.AmetysObjectFactoryExtensionPoint#initializeExtensions:39
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory#newInstance:243
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory#newInstance:208
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:162
      ... 59 moreCaused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.cms.content.ContentSaxer (key [org.ametys.cms.content.ContentSaxer]) (Key='org.ametys.cms.content.ContentSaxer')
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:81
      at org.ametys.cms.repository.ContentFactory#service:61
      at org.ametys.cms.repository.ModifiableContentFactory#service:40
      at org.apache.avalon.framework.container.ContainerUtil#service:144
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:394
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#newInstance:415
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:230
      ... 64 moreCaused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.cms.content.ContentSaxer (key [org.ametys.cms.content.ContentSaxer])
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:166
      at org.ametys.runtime.plugin.component.PluginsComponentManager#lookup:96
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:69
      ... 70 moreCaused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.cms.repository.comment.CommentsDAO (key [org.ametys.cms.repository.comment.CommentsDAO]) (Key='org.ametys.cms.repository.comment.CommentsDAO')
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:81
      at org.ametys.cms.content.ContentSaxer#service:100
      at org.ametys.web.content.ContentSaxer#service:57
      at org.apache.avalon.framework.container.ContainerUtil#service:144
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:394
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:178
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:143
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:162
      ... 72 moreCaused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.cms.repository.comment.CommentsDAO (key [org.ametys.cms.repository.comment.CommentsDAO])
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:166
      at org.ametys.runtime.plugin.component.PluginsComponentManager#lookup:96
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:69
      ... 79 moreCaused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.web.cache.PageHelper (key [org.ametys.web.cache.PageHelper]) (Key='org.ametys.web.cache.PageHelper')
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:81
      at org.ametys.web.repository.comment.CommentsDAO#service:47
      at org.ametys.plugins.workspaces.comments.CommentsDAO#service:52
      at org.apache.avalon.framework.container.ContainerUtil#service:144
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:394
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:178
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:143
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:162
      ... 81 moreCaused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.web.cache.PageHelper (key [org.ametys.web.cache.PageHelper])
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:166
      at org.ametys.runtime.plugin.component.PluginsComponentManager#lookup:96
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:69
      ... 88 moreCaused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.web.service.ServiceExtensionPoint (key [org.ametys.web.service.ServiceExtensionPoint]) (Key='org.ametys.web.service.ServiceExtensionPoint')
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:81
      at org.ametys.web.cache.PageHelper#service:59
      at org.apache.avalon.framework.container.ContainerUtil#service:144
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:394
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:178
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory#newInstance:143
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:162
      ... 90 moreCaused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.web.service.ServiceExtensionPoint (key [org.ametys.web.service.ServiceExtensionPoint])
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:166
      at org.ametys.runtime.plugin.component.PluginsComponentManager#lookup:96
      at org.apache.avalon.framework.service.WrapperServiceManager#lookup:69
      ... 96 moreCaused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.odf.service.SearchCourseService
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:236
      at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint#initializeExtensions:96
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory#newInstance:243
      at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory#newInstance:208
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#lookup:162
      ... 98 moreCaused by: java.lang.NullPointerException: Cannot invoke "org.ametys.runtime.model.ModelViewItem.getParent()" because "insertAfterViewItem" is null
      at org.ametys.web.frontoffice.SearchPagesService#_insertItemAfter:102
      at org.ametys.web.frontoffice.SearchPagesService#configureParameters:89
      at org.ametys.web.service.StaticService#configure:188
      at org.apache.avalon.framework.container.ContainerUtil#configure:202
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#configureAndStart:396
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory#newInstance:415
      at org.ametys.runtime.plugin.component.ThreadSafeComponentManager#initialize:230
      ... 102 more 

            raphael Raphaël Franchet
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: