You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2001/04/17 23:22:37 UTC

[c2] weird exception

hey guys. i just got a weird exception when requesting a c2 page. the page
showed up in my browser partway, but at the bottom it had the c2 error
page with a stacktrace in it. the stacktrace is:

DEBUG   35170   [cocoon  ] (HttpProcessor[8080][3]): Error processing
pipeline
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:org.apache.co
coon.ProcessingException: Failed to execute
pipeline.:java.lang.ArrayIndexOutOfBoundsException
        at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(
AbstractStreamPipeline.java:149)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:748)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:636)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:152)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:99)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:258)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:42
6)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

the relevant section of the sitemap is nothing special:

          try {
            result = pipeline.process(environment);
          } catch (Exception pipelineExceptionN21) {
            getLogger().debug("Error processing pipeline",
                              pipelineExceptionN21);
            throw pipelineExceptionN21;
          }

underneath that exception is another one:

org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.Arr
ayIndexOutOfBoundsException
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(A
bstractEventPipeline.java:107)
        at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(
AbstractStreamPipeline.java:147)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:748)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:636)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:152)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:99)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:258)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:42
6)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

(c2 tends to spit out lots and lots of stacktraces when an exception
occurs. weird. but anyway.)

and another one:

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.jav
a:240)
        at
org.apache.xalan.stree.SourceTreeHandler.endElement(SourceTreeHandler
.java:550)
        at
org.apache.cocoon.xml.ContentHandlerWrapper.endElement(ContentHandler
Wrapper.java:134)
        at
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java
:107)
        at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPage
sGenerator.java:164)
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(A
bstractEventPipeline.java:105)
        at
org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(
AbstractStreamPipeline.java:147)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:748)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:636)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:152)

it happens about, i, 5% of the time on this page. reckon this is a xalan
bug?

- donald


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