cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-753) NPE in ExtendedComponentSelector.release after sitemap reload
Date Tue, 25 Oct 2005 14:00:59 GMT
     [ http://issues.apache.org/jira/browse/COCOON-753?page=all ]
     
Helma van der Linden closed COCOON-753:
---------------------------------------

    Resolution: Fixed

> NPE in ExtendedComponentSelector.release after sitemap reload
> -------------------------------------------------------------
>
>          Key: COCOON-753
>          URL: http://issues.apache.org/jira/browse/COCOON-753
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.1 Milestone 3
>  Environment: Operating System: All
> Platform: All
>     Reporter: Alfred Nathaniel
>     Assignee: Cocoon Developers Team

>
> I get an NPE in ECS.release always for the first request after touching the sub-
> sitemap:
> ERROR   (2003-07-08) 10:50.55:350   [access] (/site93/index.html) Thread-
> 5/CocoonServlet: Internal Cocoon Problem
> java.lang.NullPointerException
>         at org.apache.cocoon.components.ExtendedComponentSelector.release
> (ExtendedComponentSelector.java:317)
>         at 
> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.dispose
> (ActTypeNode.java:169)
>         at org.apache.cocoon.components.treeprocessor.TreeProcessor.disposeTree
> (TreeProcessor.java:472)
>         at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode
> (TreeProcessor.java:422)
>         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:319)
>         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:307)
>         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
> (MountNode.java:133)
>         at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
> des(AbstractParentProce
> ssingNode.java:84)
>         at 
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
> (PreparableMatchNode.java:
> 164)
>         at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
> des(AbstractParentProce
> ssingNode.java:108)
>         at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
> (PipelineNode.java:162)
>         at 
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
> des(AbstractParentProce
> ssingNode.java:108)
>         at 
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
> (PipelinesNode.java:162)
>         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:325)
>         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
> (TreeProcessor.java:307)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:621)
>         at org.apache.cocoon.servlet.CocoonServlet.service
> (CocoonServlet.java:1083)
> The action is a custom component which extends AbstractAction and implements 
> ThreadSafe.
> An NP-check in ECS.release before calling this.parentSelector.release
> (component) fixes the symptom but does it cure the disease?
> In sitemap.log there are warnings:
> WARN    (2003-07-08) 11:34.45:915   [sitemap] (/site93/index.html) Thread-
> 4/ExcaliburComponentManager: disposing of handler for unreleased component. 
> role [org.apache.cocoon.generation.GeneratorSelector]
> WARN    (2003-07-08) 11:34.45:918   [sitemap] (/site93/index.html) Thread-
> 4/ExcaliburComponentManager: disposing of handler for unreleased component. 
> role [org.apache.cocoon.acting.ActionSelector]
> WARN    (2003-07-08) 11:34.45:922   [sitemap] (/site93/index.html) Thread-
> 4/ExcaliburComponentManager: disposing of handler for unreleased component. 
> role [org.apache.cocoon.transformation.TransformerSelector]
> WARN    (2003-07-08) 11:34.45:923   [sitemap] (/site93/index.html) Thread-
> 4/ExcaliburComponentSelector: Attempted to release a 
> swx.eservices.xtree.XtreeControlAction but its handler could not be located.

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