cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6645] New: - ArrayIndexOutOfBoundException
Date Mon, 25 Feb 2002 12:24:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6645>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6645

ArrayIndexOutOfBoundException

           Summary: ArrayIndexOutOfBoundException
           Product: Cocoon 2
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: edgar.de.graaf@ordina.nl


Hi,

First of all I could not reach bugzilla. I will post this there later...

Today I experimented a bit with xsp. During this experiment
ArrayIndexOutOfBoundException in the CocoonServlet. The exception occures
when I change something in my xml. This XML provides the data for a Cocoon
application I made. When you again change something in the xml reload and
change it back then the problem is solved!? (untill you again want to change
the xml).

Edgar

By the way the application enables you to keep your information about the
tags (xsp tags). It enables you to fast find a certain tag and its meaning.

I have included the xsp and xml you need (when you are going to try it out).
You have to add the following code to your sitemap:
========

<map:match pattern="taglibrary.xsl">
	   <map:generate type = "serverpages" src="stylesheets/logica.xsp"/>
	   <map:serialize type="xml"/>
</map:match>
   
<map:match pattern="taglibrary.html">
		<map:generate src="docs/tags.xml"/>
		<map:transform src="cocoon:/taglibrary.xsl"/>
		<map:transform src="stylesheets/taglibrary2html.xsl"/>
		<map:serialize/>
</map:match>


The exception:
==============

Cocoon 2 - Internal server error

type fatal
message Failed to execute pipeline.
description org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: java.lang.ArrayIndexOutOfBoundsException
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/cocoonProject/taglibrary.html
path-info
cocoonProject/taglibrary.html
===============Log Entry=====================
java.lang.ArrayIndexOutOfBoundsException
	at org.apache.xml.utils.IntStack.peek(IntStack.java:148)
	at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.comment(SAX2DTM.java:2207)
	at org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.comment
(IncrementalSAXSource_Filter.java:388)
	at org.apache.xalan.transformer.TransformerHandlerImpl.comment
(TransformerHandlerImpl.java:939)
	at org.apache.cocoon.xml.AbstractXMLPipe.comment
(AbstractXMLPipe.java:223)
	at org.apache.cocoon.components.sax.XMLByteStreamInterpreter.parse
(XMLByteStreamInterpreter.java:108)
	at org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize
(XMLByteStreamInterpreter.java:59)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.process
(CachingEventPipeline.java:177)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
(CachingStreamPipeline.java:355)
	at 
org.apache.cocoon.www.file_.D_.Tomcat4.webapps.cocoon.cocoonProject.sitemap_xmap
.matchN400033(sitemap_xmap.java:625)
	at 
org.apache.cocoon.www.file_.D_.Tomcat4.webapps.cocoon.cocoonProject.sitemap_xmap
.process(sitemap_xmap.java:397)
	at 
org.apache.cocoon.www.file_.D_.Tomcat4.webapps.cocoon.cocoonProject.sitemap_xmap
.process(sitemap_xmap.java:326)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
	at org.apache.cocoon.www.sitemap_xmap.matchN4002F1
(sitemap_xmap.java:3795)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2709)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2470)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
	at org.apache.cocoon.sitemap.SitemapManager.process
(SitemapManager.java:144)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:582)
	at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:795)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:201)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2344)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:462)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:163)
	at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1011)
	at org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1106)
	at java.lang.Thread.run(Thread.java:484)

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


Mime
View raw message