Uploaded image for project: 'Calendar'
  1. Calendar
  2. CAL-56

Application cannot be launched because EventHelper cannot be instanciated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.0
    • 2.0.0
    • None
    • None

      Fatal error in plugin manager when launching the application.

      Date:			Mon Mar 21 11:39:44 CET 2016 (1458556784472)
      Thread:		templates.cmsweb.cms.fino-startStop-1
      Message #:	314
      Level:		ERROR
      NDC:			
      Category:	org.ametys.runtime.plugin.PluginsManager
      Message:		Caught an exception loading components.
      Location:	org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:416)
      Thrown:
      java.lang.Exception: Caught an exception trying to initialize the component org.ametys.plugins.calendar.events.EventHelper
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:212)
      	at org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:412)
      	at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:49)
      	at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:174)
      	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266)
      	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
      	at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
      	at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
      	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245)
      	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
      	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245)
      	at org.ametys.runtime.servlet.RuntimeServlet._createCocoon(RuntimeServlet.java:350)
      	at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:284)
      	at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:207)
      	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
      	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
      	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
      	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalAccessException: Class org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory can not access a member of class org.ametys.plugins.calendar.events.EventHelper with modifiers "private"
      	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:101)
      	at java.lang.Class.newInstance(Class.java:432)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.instanciate(ThreadSafeComponentManager.java:322)
      	at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:146)
      	at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206)
      	... 26 more
      

            trizzi Thibaut Rizzi (Inactive)
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: