-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
The solr indexer failed when it is called out of a request ?
org.apache.avalon.framework.CascadingRuntimeException: Unable to get the request object from the context. at org.apache.cocoon.components.ContextHelper.getRequest(ContextHelper.java:64) at org.ametys.cms.content.indexing.solr.observation.IndexContentObserver.observe(IndexContentObserver.java:91) at org.ametys.core.observation.ObservationManager._observesEvent(ObservationManager.java:202) at org.ametys.core.observation.ObservationManager.notify(ObservationManager.java:146) at org.ametys.cms.workflow.AbstractContentFunction._setCurrentStepIdAndNotify(AbstractContentFunction.java:103) at org.ametys.cms.workflow.SetCurrentStepIdAndNotifyFunction.execute(SetCurrentStepIdAndNotifyFunction.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:177) at com.sun.proxy.$Proxy26.execute(Unknown Source) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:871) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1275) at org.ametys.plugins.workflow.AbstractAmetysWorkflow.transitionWorkflow(AbstractAmetysWorkflow.java:209) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:618) at org.ametys.plugins.workflow.AbstractAmetysWorkflow.initialize(AbstractAmetysWorkflow.java:99) at org.ametys.odf.Init.init(Init.java:126) at org.ametys.runtime.servlet.RuntimeServlet._initPlugins(RuntimeServlet.java:368) at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:306) at org.ametys.runtime.servlet.RuntimeServlet.restartCocoon(RuntimeServlet.java:620) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:583) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2463) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2452) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.avalon.framework.context.ContextException: Unable to locate object-model.request (No environment available) at org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:111) at org.apache.cocoon.components.ContextHelper.getRequest(ContextHelper.java:62) ... 42 more
- Est bloqué par
-
CMS-7401 Useless request attribute to prevent indexing
- Closed