Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-379

Bug à l'initialisation du repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.0
    • 2.0.0
    • None
    • None
    • appli vierge

      A l'initialisation d'une appli 3.4 (ODF 1.3) sans repo, on obtient cette erreur sans que la racine des sites soit créée :

      2012-06-19 19:14:03,692 ERROR [access] (main;) Error while loading servlet. Entering in error mode.
      com.opensymphony.workflow.WorkflowException: Unable to get the object model: root cause: Unable to get the object model from the context.
      	at org.ametys.plugins.workflow.AbstractWorkflowComponent.getRequest(AbstractWorkflowComponent.java:98)
      	at org.ametys.cms.workflow.CreateContentFunction.execute(CreateContentFunction.java:133)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)
      	at $Proxy9.execute(Unknown Source)
      	at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:869)
      	at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1042)
      	at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:618)
      	at org.ametys.plugins.workflow.Workflow.initialize(Workflow.java:155)
      	at org.ametys.odf.Init.init(Init.java:117)
      	at org.ametys.runtime.servlet.RuntimeServlet._initPlugins(RuntimeServlet.java:209)
      	[...]
      Caused by: org.apache.avalon.framework.CascadingRuntimeException: Unable to get the object model from the context.
      	at org.apache.cocoon.components.ContextHelper.getObjectModel(ContextHelper.java:92)
      	at org.ametys.plugins.workflow.AbstractWorkflowComponent.getRequest(AbstractWorkflowComponent.java:93)
      	... 40 more
      Caused by: org.apache.avalon.framework.context.ContextException: Unable to locate object-model (No environment available)
      	at org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:96)
      	at org.apache.cocoon.components.ContextHelper.getObjectModel(ContextHelper.java:90)
      	... 41 more
      

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: