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 Sat, 18 Mar 2006 10:32:20 GMT
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.

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

> Apart from that, I'll stop talking about this release plan.

Thank you Carsten, I appreciate that.

/Daniel

org.apache.cocoon.ProcessingException: Sitemap: error when calling 
sub-sitemap
	at <map:mount> - 
file:/C:/cygwin/usr/local/svn/cocoon-trunk/cocoon-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:248)
	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: Could 
not load TreeBuilder configuration from 
resource://org/apache/cocoon/components/treeprocessor/sitemap-language.xml
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.build(SitemapLanguage.java:423)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	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:411)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcreteProcessor(TreeProcessor.java:346)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:247)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:113)
	... 27 more
Caused by: java.lang.NullPointerException
	at 
org.apache.cocoon.environment.internal.EnvironmentHelper.getSitemapServiceManager(EnvironmentHelper.java:394)
	at 
org.apache.cocoon.components.source.CocoonSourceResolver.getComponentLocator(CocoonSourceResolver.java:212)
	at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:140)
	at 
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:181)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.build(SitemapLanguage.java:414)
	... 37 more

Mime
View raw message