cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gernot Koller <>
Subject java.lang.IndexOutOfBoundsException
Date Thu, 21 Nov 2002 17:52:28 GMT

Trying to use the current cvs version of cocoon with tomcat version 4.1.12 I experience the
following problem
After building and installing cocoon
(./build.bat -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp ; ./build.bat
- Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true -
Dinstall.war="C:/ent/jakarta-tomcat-4.1.12/webapps" installwar)
and starting tomcat server enterint the URl "http://localhost:8080/cocoon/" correctly redirects
http://localhost:8080/cocoon/documents/index.html but then brings an error page containing:

type fatal

message Index: -1, Size: 0

description java.lang.IndexOutOfBoundsException: Index: -1, Size: 0

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet


java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
	at java.util.ArrayList.RangeCheck(
	at java.util.ArrayList.remove(
	at  org.apache.cocoon.components.EnvironmentDescription.removeLastSitemapConfiguration(
	at  org.apache.cocoon.components.CocoonComponentManager.leaveEnvironment(
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
	at org.apache.cocoon.Cocoon.process(
	at org.apache.cocoon.servlet.CocoonServlet.service

Directly jumping to one of the samples (e.g. http://localhost:8080/cocoon/samples/ or http://localhost:8080/
portal) seems to work.

So my guess is I'm just missing the documentation html files ? Looking in the $TOMCAT/webApps/cocoon/
documentation directory actually does not contain an
index.html file, is this correct ?

What am I doing wrong ? Any hints, please ?



Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message