cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: [RT] a simple release plan
Date Sun, 19 Mar 2006 11:42:42 GMT
Carsten Ziegeler skrev:
> Daniel Fagerstrom schrieb:
>> Carsten Ziegeler skrev:
>>> I'm sorry if I broke something in trunk with the move to Spring or the
>>> refactoring; I'm currently not aware of a problem as trunk is working
>>> for me here on my machine. So if someone can come up with a bug
>>> description or stack trace I can try to fix that (if time permits).
>> For a fresh checkout and a clean compile of trunk:
>>
>> $ cd cocoon-webapp
>> $ mvn jetty6:run
>>
>> Any call to a subsitemap e.g. 
>> http://localhost:8888/cocoon-webapp/samples/spring/test leads to an NPE, 
>> the problems seem to be with calling subsitemaps as non existing URLs 
>> for subsitemaps gives the same error. Stack trace below. The same 
>> problems has been reported before in a different context 
>> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=114175709422729&w=2.
>>
> This should be fixed now; the current tree builder/container generation
> code is now rather ugly and definitly needs some clean up. I can help
> there as soon as I have time.

Thanks, it works for me also.

>> There also have been a problem with subsitemap inheritance of 
>> components, that I don't know if it is solved yet: 
>> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=114090981108642&w=2
> It should be, but could not test yet.

Didn't work for me. I copied configuration files and samples as 
described in 
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=114073731515724&w=2 and 
  http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=114085759822501&w=2 
and still gets the same problem as Ben reports in the link above. I.e. 
that components are not inherited properly to subsitemaps. Stack trace 
below.

The test cases for blocks fw are also still broken. I will take a look 
at that part as soon as I find time.

/Daniel

org.apache.cocoon.ProcessingException: Sitemap: error when calling 
sub-sitemap
	at [ConfigurationException] - 
file:/C:/cygwin/usr/local/svn/cocoon-trunk/cocoon-samples-webapp/src/main/webapp/samples/blocks/forms/sitemap.xmap:126:72
	at <map:mount> - 
file:/C:/cygwin/usr/local/svn/cocoon-trunk/cocoon-samples-webapp/src/main/webapp/samples/blocks/sitemap.xmap:78:49
	at <map:mount> - 
file:/C:/cygwin/usr/local/svn/cocoon-trunk/cocoon-samples-webapp/src/main/webapp/samples/sitemap.xmap:36:49
	at <map:mount> - 
file:/C:/cygwin/usr/local/svn/cocoon-trunk/cocoon-samples-webapp/src/main/webapp/sitemap.xmap:274:47
	at 
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:110)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:116)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:115)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:150)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:91)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:329)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:228)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:249)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:113)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:115)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:150)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:91)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:329)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:228)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:249)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:113)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:54)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:115)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:150)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:76)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:91)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:329)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:228)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:249)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:232)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:281)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:350)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:195)
	at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:164)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:536)
	at org.mortbay.jetty.Server.handle(Server.java:309)
	at org.mortbay.jetty.Server.handle(Server.java:285)
	at org.mortbay.jetty.HttpConnection.doHandler(HttpConnection.java:364)
	at org.mortbay.jetty.HttpConnection.access$1600(HttpConnection.java:46)
	at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:612)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:485)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:194)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:298)
	at 
org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:710)
	at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:412)
Caused by: 
org.apache.avalon.framework.configuration.ConfigurationException: Type 
'jx' does not exist for 'map:generate' at 
file:/C:/cygwin/usr/local/svn/cocoon-trunk/cocoon-samples-webapp/src/main/webapp/samples/blocks/forms/sitemap.xmap:126:72
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.getTypeForStatement(SitemapLanguage.java:602)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder.buildNode(GenerateNodeBuilder.java:42)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:119)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:134)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.ActNodeBuilder.buildNode(ActNodeBuilder.java:70)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:119)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:134)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder.buildNode(SelectNodeBuilder.java:60)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodesList(AbstractParentProcessingNodeBuilder.java:119)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder.buildChildNodes(AbstractParentProcessingNodeBuilder.java:134)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder.buildNode(MatchNodeBuilder.java:74)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder.buildNode(PipelineNodeBuilder.java:106)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.buildNode(PipelinesNodeBuilder.java:61)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.buildNode(SitemapNodeBuilder.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.createTree(SitemapLanguage.java:338)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.build(SitemapLanguage.java:439)
	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at 
org.apache.cocoon.core.container.spring.PoolableFactoryBean$ProxyHandler.invoke(PoolableFactoryBean.java:339)
	at $Proxy1.build(Unknown Source)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildConcreteProcessor(TreeProcessor.java:412)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcreteProcessor(TreeProcessor.java:347)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:113)
	... 47 more

Mime
View raw message