cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Pfingsthorn" <m.pfingsth...@hippo.nl>
Subject environment errors
Date Tue, 28 Feb 2006 12:30:37 GMT
Dear all,

I have a few errors here which I really cannot explain, maybe someone can shed some light
on the matter? The weird thing is, the application works fine, despite the errors below...
But I am very curious what could make these things happen. I have a creepy feeling that this
might be only the tip of the iceberg...

Number one:

This one seems to be caused by a missing or empty EnvironmentStack.. I know too little about
the deep internals to see what is going wrong. The funny thing is that no other pipeline seems
to cause this error...

20060228105414614       ERROR sitemap.pipes.ecaching                   (cms.minfin.hat02:50103/editing/cf2/showForm/homepage//content/minfin/nl/documents/3830391d5f16882584601334453f74526e7e327f.continue)
main-24/AbstractProcessingPipeline: Unable to release self from automatic release.
org.apache.cocoon.ProcessingException: Unable to remove component from automatic release:
no environment available.
        at org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelease(CocoonComponentManager.java:489)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.release(AbstractProcessingPipeline.java:184)
        at org.apache.cocoon.components.source.impl.SitemapSource.reset(SitemapSource.java:433)
        at org.apache.cocoon.components.source.impl.SitemapSource.recycle(SitemapSource.java:460)
        at org.apache.cocoon.components.source.impl.SitemapSourceFactory.release(SitemapSourceFactory.java:78)
        at org.apache.excalibur.source.impl.SourceResolverImpl.release(SourceResolverImpl.java:269)
        at org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:548)
        at org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:565)
        at org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:308)
        at org.apache.cocoon.sitemap.ContentAggregator.recycle(ContentAggregator.java:274)
        at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407)
        at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
        at org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
        at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307)
        at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:300)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:720)
        at org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:77)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:993)
        at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407)
        at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
        at org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
        at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307)
        at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:300)
        at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:297)
        at org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:678)
        at org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:243)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:719)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at nl.hippo.util.ResponseEncodingFilter.doFilter(ResponseEncodingFilter.java:36)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Number two:

This one seems to be caused by a missing source resolver, which I cannot imagine at all. Why
would the environment wrapped by the MutableEnvironmentFacade not be initialized correctly
(i.e. have no source resolver)?

java.lang.NullPointerException
       at org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:565)
       at org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:308)
       at org.apache.cocoon.transformation.TraxTransformer.recycle(TraxTransformer.java:548)
       at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407)
       at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
       at org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
       at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307)
       at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:300)
       at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:297)
       at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:297)
       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:732)
       at org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:77)
       at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:993)
       at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.put(InstrumentedResourceLimitingPool.java:407)
       at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
       at org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
       at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:307)
       at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:300)
       at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:297)
       at org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:678)
       at org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:243)
       at org.apache.cocoon.Cocoon.process(Cocoon.java:719)
       at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
       at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
       at nl.hippo.util.ResponseEncodingFilter.doFilter(ResponseEncodingFilter.java:36)
       at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
       at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
       at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
       at org.mortbay.http.HttpServer.service(HttpServer.java:909)
       at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
       at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)



Best regards,

Max Pfingsthorn

Hippo  

Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
m.pfingsthorn@hippo.nl / www.hippo.nl
-------------------------------------------------------------

Mime
View raw message