cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Wallez (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-889) NPE in AbstractEnvironment class
Date Mon, 07 Nov 2005 15:25:19 GMT
     [ http://issues.apache.org/jira/browse/COCOON-889?page=all ]
     
Sylvain Wallez closed COCOON-889:
---------------------------------

    Resolution: Fixed
     Assign To:     (was: Ivan Kurmanov)

There were some nasty multi-threading bugs fixed that were causing NPEs in pipelines called
from cron jobs. So this should be fixed in 2.1.8.

Reopen it *only* if it still breaks with the latest revision.

> NPE in AbstractEnvironment class
> --------------------------------
>
>          Key: COCOON-889
>          URL: http://issues.apache.org/jira/browse/COCOON-889
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.1.2
>  Environment: Operating System: Linux
> Platform: PC
>     Reporter: Ivan Kurmanov

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message