cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Blocker: Exception using cocoon:// protocol
Date Sun, 24 Oct 2004 00:31:27 GMT
Hey all,

There is some issue with cocoon:// protocol that I can't wrap my head around... 
It is blocking 2.1.6 release. NullPointerException occurs when request's 
pipeline uses / includes another pipeline via cocoon:// protocol. It is 
reproducable using multiple samples:

   http://localhost:8888/samples/aggregation/aggregate
   http://localhost:8888/samples/aggregation/aggregate2
   http://localhost:8888/samples/modules/index.html
   http://localhost:8888/samples/test/reader-mime-type/test20.html

etc. Last one is the simpliest. Stacktrace in the last case is below. When 
trying to debug I found out this sequence:
  * "cocoon://test10.html" reader: ResourceReader.recycle()
  * "cocoon://test10.html" source: SitemapSource.reset()
  * CocoonComponentManager.endProcessing()
  * EnvironmentWrapper instance: AbstractEnvironment.finishProcessing()
    Here sourceResolver is set to null!
  * Back to CocoonComponentManager.endProcessing() which calls:
  * EnvironmentDescription.release()
  * "test10.html" reader: ResourceReader.recycle()
  * EnvironmentWrapper instance: AbstractEnvironment.release()
    Here sourceResolver is already null!

Any ideas?

Vadim



java.lang.NullPointerException
at o.a.c.environment.AbstractEnvironment.release(AbstractEnvironment.java:544)
at o.a.c.e.w.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:323)
at o.a.c.r.ResourceReader.recycle(ResourceReader.java:165)
at o.a.a.e.p.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at o.a.a.e.c.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
at o.a.a.e.c.ComponentHandler.put(ComponentHandler.java:425)
at o.a.a.e.c.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:305)
at o.a.c.c.ExtendedComponentSelector.release(ExtendedComponentSelector.java:286)
at o.a.c.c.ExtendedComponentSelector.release(ExtendedComponentSelector.java:283)
at o.a.c.c.p.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:649)
at 
o.a.c.c.p.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:77)
at 
o.a.c.c.p.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:955)
at o.a.a.e.p.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at o.a.a.e.c.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
at o.a.a.e.c.ComponentHandler.put(ComponentHandler.java:425)
at o.a.a.e.c.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:305)
at o.a.c.c.ExtendedComponentSelector.release(ExtendedComponentSelector.java:286)
at o.a.c.c.EnvironmentDescription.release(CocoonComponentManager.java:611)
at o.a.c.c.CocoonComponentManager.endProcessing(CocoonComponentManager.java:217)
at o.a.c.c.source.impl.SitemapSource.reset(SitemapSource.java:441)
at o.a.c.c.source.impl.SitemapSource.recycle(SitemapSource.java:463)
at o.a.c.c.s.impl.SitemapSourceFactory.release(SitemapSourceFactory.java:78)
at o.a.e.s.impl.SourceResolverImpl.release(SourceResolverImpl.java:269)
at o.a.c.c.CocoonComponentManager.release(CocoonComponentManager.java:521)
at o.a.c.environment.AbstractEnvironment.release(AbstractEnvironment.java:544)
at o.a.c.reading.ResourceReader.recycle(ResourceReader.java:165)
at o.a.a.e.p.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at o.a.a.e.c.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
at o.a.a.e.c.ComponentHandler.put(ComponentHandler.java:425)
at o.a.a.e.c.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:305)
at o.a.c.c.ExtendedComponentSelector.release(ExtendedComponentSelector.java:286)
at o.a.c.c.ExtendedComponentSelector.release(ExtendedComponentSelector.java:283)
at o.a.c.c.p.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:649)
at 
o.a.c.c.p.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:77)
at 
o.a.c.c.p.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:955)
at o.a.a.e.p.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at o.a.a.e.c.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
at o.a.a.e.c.ComponentHandler.put(ComponentHandler.java:425)
at o.a.a.e.c.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:305)
at o.a.c.c.ExtendedComponentSelector.release(ExtendedComponentSelector.java:286)
at o.a.c.c.t.InvokeContext.dispose(InvokeContext.java:294)
at o.a.c.c.t.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:183)
at o.a.c.c.t.TreeProcessor.process(TreeProcessor.java:241)

Mime
View raw message