cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Christophe Kermagoret <...@openbluelab.org>
Subject 2.2 trunk : Initial capacity must be greater than 0 ?
Date Fri, 24 Nov 2006 12:50:14 GMT
I get cocoon through svn this morning.

I typed these commands :
* mvn -Dmaven.test.skip=true -Dallblocks install

Then, I've been to core/cocoon-webapp and typed :
* mvn -Dmaven.war.shieldingclassloader=false cocoon:deploy jetty:run

I still encountered the shielding problem, that I solved with a mvn 
clean as suggested :
* mvn clean
* mvn -Dmaven.war.shieldingclassloader=false cocoon:deploy jetty:run

Cocoon started.

I go to samples link and I get the above error :

*java.lang.IllegalArgumentException: Initial capacity must be greater than 0

that is related, through stacktrace observation, to this :

****************
java.lang.IllegalArgumentException: Initial capacity must be greater than 0
	at 
org.apache.commons.collections.map.AbstractHashedMap.<init>(AbstractHashedMap.java:143)
	at 
org.apache.commons.collections.map.AbstractHashedMap.<init>(AbstractHashedMap.java:128)
	at org.apache.commons.collections.map.HashedMap.<init>(HashedMap.java:63)
	at 
org.apache.cocoon.components.source.impl.BlockContextSource.createChildren(BlockContextSource.java:93)
	at 
org.apache.cocoon.components.source.impl.BlockContextSource.<init>(BlockContextSource.java:65)
	at 
org.apache.cocoon.components.source.impl.BlockContextSourceFactory.getSource(BlockContextSourceFactory.java:62)

and this :
****************
org.apache.cocoon.ProcessingException: Failed to process pipeline
	at <map:serialize type="html"> - 
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:36:37
	at <map:transform> - 
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:33:94
	at <map:transform> - 
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:32:49
	at <map:generate type="xpathtraversable"> - 
file:/C:/opt/programs/cocoon/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:27:68

Thanks for the help

-- 

Jean-Christophe Kermagoret
jck@OpenBlueLab.Org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message