forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Weird problem with menu.xmap
Date Thu, 10 Jul 2003 00:49:46 GMT
Hi again,

I have a wierd problem and I would like anyone to take a look because I 
can not go any futher.

with latest version on CVS:

(cd /var/tmp; mkdir fs; cd fs; forrest seed; forrest run)

go to http://localhost:8888/index.html

cheche@carolo:/var/tmp/fs$ touch build/webapp/menu.xmap

reload http://localhost:8888/index.html

-------------------- Console logs---------------------------------------
02:40:25.029 EVENT  ERROR   (2003-07-10) 02:40.25:007   [access  ] 
(/index.html) PoolThread-3/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.apache.cocoon.ProcessingException: Could not read resource 
cocoon://book-index.html: java.lang.NullPointerException
	at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:551)
	at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:218)
	at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:489)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:150)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
	at 
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNode.java:66)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:128)
-------------------- Console logs---------------------------------------

cheche@carolo:/var/tmp/fs$ touch build/webapp/WEB-INF/cocoon.xconf


The site is working again!!!!!


If you try http://localhost:8888/book-index.html


-------------------- Console logs---------------------------------------
02:44:33.861 EVENT  ERROR   (2003-07-10) 02:44.33:855   [access  ] 
(/book-index.html) PoolThread-3/CocoonServlet: Internal Cocoon Problem
java.lang.NullPointerException
	at 
org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:317)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.dispose(SelectNode.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)
-------------------- Console logs---------------------------------------


Now It looks that it is related to this line on menu.xmap:

<map:selector logger="sitemap.selector.config" name="config" 
src="org.apache.cocoon.selection.SimpleSelector" />


Cheers

Cheche



Mime
View raw message