Hi!
i have strange behaviour in cocoon 2.2. When calling a subsitemap in a
block, it sometimes works fine, but sometimes (under conditions i cannot
predict so long) i get the following when anybody tries to access a url
pointing in the sub-sitemap.
So long it looks like follows:
When this url works once after a server start, it seems to work forever.
However, if we restart the server, this strange NullPointer sometimes
occurs.
<ex:exception-report class="java.lang.NullPointerException" >
<ex:exception-report xmlns:ex="http://apache.org/cocoon/exception/1.0"
class="java.lang.NullPointerException">
<ex:message/>
<ex:content/>
<ex:content/>
<ex:content/>
<ex:cocoon-stacktrace>
<ex:exception>
<ex:message>Sitemap: error when calling sub-sitemap</ex:message>
<ex:locations>
<ex:location
uri="file:///site/apps/apache-tomcat-6.0.20/work/webapp/blocks/cocoon/sitemap.xmap"
line="502" column="71"><m
ap:mount></ex:location>
<ex:location
uri="file:///site/apps/apache-tomcat-6.0.20/work/webapp/blocks/cocoon/sitemap.xmap"
line="501" column="36"><m
ap:match></ex:location>
</ex:locations>
</ex:exception>
</ex:cocoon-stacktrace>
<ex:stacktrace>java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
org.apache.cocoon.configuration.PropertyHelper.replaceAll(PropertyHelper.java:163)
at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPostProcessor.createSettings(AbstractSettingsBeanFactoryPostProcesso
r.java:249)
at
org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPostProcessor.init(AbstractSettingsBeanFactoryPostProcessor.java:123
)
at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
....
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.apache.cocoon.configuration.Settings': Invocation of init method
failed;
nested exception is java.lang.NullPointerException
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1260)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:438)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.fac
--
Med vennlig hilsen
Søren D. Krum
Systemutvikler/system developer
UNINETT FAS
+ 47 73557859
There are 10 different kind of people in the world, those who understand binary
and those who don't
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]