cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24817] New: - NullPointerException in AbstractEnvironment class
Date Wed, 19 Nov 2003 10:00:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24817>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24817

NullPointerException in AbstractEnvironment class

           Summary: NullPointerException in AbstractEnvironment class
           Product: Cocoon 2
           Version: 2.1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: kurmanov@openlib.org


java.lang.NullPointerException
        at
org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:521)
        at
org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:332)
        at org.apache.cocoon.generation.FileGenerator.recycle(FileGenerator.java:89)
        at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
        at
org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:245)
        at
org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:452)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:336)
        at
org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:326)
        at
org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:323)
        at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:641)
        at
org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:112)
        at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:961)
        at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
        at
org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:245)
        at
org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:452)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:336)
        at
org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:326)
        at
org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:602)
        at
org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:212)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:660)
        at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:535)
        at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:521)
        at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:372)
        at org.apache.cocoon.Main.main(Main.java:388)

The same exception repeated three times for a single request/file, although it
is generated through three different calling classes.

The general picture: I use Forrest, which got me 2.1.2-dev version of Cocoon. I
edited the sitemap.xmap to remove unnecesary things, like PDF generation (FO
processing) and alike.  Didn't change pool-* settings.  

In site.xml I have an item with href='/'.  This item is referenced in one of the
pages.  This quite well might be a Forrest bug, but maybe Cocoon also need to be
more careful about null pointers in this case.

Mime
View raw message