cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Skaistis" <jeff.skais...@alistia.com>
Subject [C2]ArrayIndexOutOfBoundsException processing page
Date Tue, 29 May 2001 21:36:59 GMT
I'm getting an intermittent ArrayIndexOutOfBoundsException processing a
page.  It usually occurs after getting another exeception (such as NPE from
bad data) on the page.  When it happens, the page is processed (and
displayed) successfully, but the Cocoon error document is appended to bottom
the returned page.  I found one message in the archives from last month that
was very close to this problem, but I couldn't find any other references.

Based on some discussions of similar exceptions with caching problems, I
tried both non-caching pipelines as well as disabling <use-store> on the
TraxTransformer, but got the same results.

My environment is Win2000 SP1, IIS 5, JRun 3.0 SP2, using the latest CVS
version.

Here's the stack trace:

DEBUG   24581   [cocoon  ] (jcp-0): Error processing pipeline
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.ArrayIndexOutOfBoundsException
	at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac
tStreamPipeline.java:133)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3782)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1353)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:172)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:97)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.ArrayIndexOutOfBoundsException
	at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract
EventPipeline.java:127)
	at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac
tStreamPipeline.java:131)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3782)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1353)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:172)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:97)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
java.lang.ArrayIndexOutOfBoundsException
	at org.apache.xml.utils.NodeVector.popAndTop(NodeVector.java:234)
	at org.apache.xml.utils.DOMBuilder.endElement(DOMBuilder.java:378)
	at
org.apache.xalan.stree.StreeDOMBuilder.endElement(StreeDOMBuilder.java:240)
	at
org.apache.xalan.stree.SourceTreeHandler.endElement(SourceTreeHandler.java:5
52)
	at
org.apache.cocoon.xml.ContentHandlerWrapper.endElement(ContentHandlerWrapper
.java:132)
	at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:205)
	at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract
EventPipeline.java:125)
	at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac
tStreamPipeline.java:131)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3782)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1353)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:172)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:97)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.ArrayIndexOutOfBoundsException
	at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract
EventPipeline.java:127)
	at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac
tStreamPipeline.java:131)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3782)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1353)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:172)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:97)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
java.lang.ArrayIndexOutOfBoundsException
	at org.apache.xml.utils.NodeVector.popAndTop(NodeVector.java:234)
	at org.apache.xml.utils.DOMBuilder.endElement(DOMBuilder.java:378)
	at
org.apache.xalan.stree.StreeDOMBuilder.endElement(StreeDOMBuilder.java:240)
	at
org.apache.xalan.stree.SourceTreeHandler.endElement(SourceTreeHandler.java:5
52)
	at
org.apache.cocoon.xml.ContentHandlerWrapper.endElement(ContentHandlerWrapper
.java:132)
	at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:205)
	at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract
EventPipeline.java:125)
	at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac
tStreamPipeline.java:131)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3782)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1353)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:172)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:97)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
java.lang.ArrayIndexOutOfBoundsException
	at org.apache.xml.utils.NodeVector.popAndTop(NodeVector.java:234)
	at org.apache.xml.utils.DOMBuilder.endElement(DOMBuilder.java:378)
	at
org.apache.xalan.stree.StreeDOMBuilder.endElement(StreeDOMBuilder.java:240)
	at
org.apache.xalan.stree.SourceTreeHandler.endElement(SourceTreeHandler.java:5
52)
	at
org.apache.cocoon.xml.ContentHandlerWrapper.endElement(ContentHandlerWrapper
.java:132)
	at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:205)
	at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract
EventPipeline.java:125)
	at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac
tStreamPipeline.java:131)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3782)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1353)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:172)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:97)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:288)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:463)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:382)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)

TIA.

-------------------------
Jeff Skaistis
jeff.skaistis@alistia.com


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


Mime
View raw message