org.apache.cocoon.ProcessingException: Unable to remove component from automatic release: no environment available.

cocoon-users-fr | Frédéric Glorieux | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    copy-source génère une NPE dans AbstractEnvironment.release ?

    cocoon-users-fr | 1 decade ago | Frédéric Glorieux
    org.apache.cocoon.ProcessingException: Unable to remove component from automatic release: no environment available.

    Root Cause Analysis

    1. org.apache.cocoon.ProcessingException

      Unable to remove component from automatic release: no environment available.

      at org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelease()
    2. org.apache.cocoon
      SitemapSourceFactory.release
      1. org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelease(CocoonComponentManager.java:489)
      2. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.release(AbstractProcessingPipeline.java:184)
      3. org.apache.cocoon.components.source.impl.SitemapSource.reset(SitemapSource.java:433)
      4. org.apache.cocoon.components.source.impl.SitemapSource.recycle(SitemapSource.java:460)
      5. org.apache.cocoon.components.source.impl.SitemapSourceFactory.release(SitemapSourceFactory.java:78)
      5 frames
    3. org.apache.excalibur
      SourceResolverImpl.release
      1. org.apache.excalibur.source.impl.SourceResolverImpl.release(SourceResolverImpl.java:269)
      1 frame
    4. org.apache.cocoon
      FileGenerator.recycle
      1. org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:548)
      2. org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:548)
      3. org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:548)
      4. org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:548)
      5. org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:548)
      6. org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:565)
      7. org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:308)
      8. org.apache.cocoon.generation.FileGenerator.recycle(FileGenerator.java:63)
      8 frames
    5. Excalibur Pool API
      InstrumentedResourceLimitingPool.put
      1. org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407)
      1 frame
    6. org.apache.avalon
      ExcaliburComponentSelector.release
      1. org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
      2. org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
      3. org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307)
      3 frames
    7. org.apache.cocoon
      AbstractCachingProcessingPipeline.recycle
      1. org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:300)
      2. org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:720)
      3. org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:77)
      4. org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:993)
      4 frames
    8. Excalibur Pool API
      InstrumentedResourceLimitingPool.put
      1. org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407)
      1 frame
    9. org.apache.avalon
      ExcaliburComponentSelector.release
      1. org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
      2. org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
      3. org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307)
      3 frames
    10. org.apache.cocoon
      CocoonServlet.service
      1. org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:300)
      2. org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:678)
      3. org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:243)
      4. org.apache.cocoon.Cocoon.process(Cocoon.java:719)
      5. org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
      5 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    12. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      4. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      8. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      10. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      11. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      12. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      13. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      14. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      15. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      16. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      17. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      18. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      18 frames
    13. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      1 frame
    14. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      3 frames
    15. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      1 frame
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame