cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uyttenhove Jan <Jan.Uyttenh...@the-ecorp.com>
Subject RE: [C2] ArrayIndexOutOfBoundsException
Date Wed, 30 May 2001 12:50:57 GMT
I still get the same exception, but now tested with a simplified
configuration 
(I disabled caching, removed Traxtransformer and Content Aggregation this
time):
- a FileGenerator to read a configuration XML file containing a database
query
- a SQLtransformer to execute the query
- a second transformer AttributeRowSetTransformer
- the XMLSerializer

I can execute the query 2 times, the third time it trows the exception. 
So I tested with the LogTransformer between the 2 transformers. Attached a
part of the cocoon logfile, including first a correct execution, and second
a failed one. The output of the logTransformer stops before the
[endDocument] is printed...

Can anybody help?

Jan


-----Original Message-----
From: Uyttenhove Jan [mailto:Jan.Uyttenhove@the-ecorp.com]
Sent: Tuesday, May 29, 2001 12:19
To: cocoon-dev@xml.apache.org
Subject: [C2] ArrayIndexOutOfBoundsException


Hi all,

We're building a site using transformers to query a database.
After executing some queries, an ArrayIndexOutOfBoundsException is thrown.
It's difficult to say when, but every third or fourth query causes this
error. 

I noticed something like this was reported before (by Donald I think), can
anyone tell me what's the status of this problem?
Is it a xalan bug or cocoon bug (and if so, any chance it will be fixed
soon), or did we made a mistake?

Thanx,
Jan


DEBUG   10731   [cocoon  ] (Thread-8): Returning a
org.apache.cocoon.components.sax.XMLByteStreamInterpreter to the pool
ERROR   10731   [cocoon  ] (Thread-8): ContentAggregator: cannot process
event pipeline for URI nl/keyword/attributelist.xml
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.lang.ArrayIndexOutOfBoundsException
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:191)
 at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:
161)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:220)
 at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:344)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1463)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:945)
 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:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
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
be.ecorp.prj.scoot.site.transformation.AttributeRowSetTransformer.endElement
(AttributeRowSetTransformer.java:210)
 at
org.apache.cocoon.transformation.LogTransformer.endElement(LogTransformer.ja
va:184)
 at
be.ecorp.prj.scoot.site.transformation.SQLTransformer.end(SQLTransformer.jav
a:550)
 at
be.ecorp.prj.scoot.site.transformation.SQLTransformer.executeQuery(SQLTransf
ormer.java:228)
 at
be.ecorp.prj.scoot.site.transformation.SQLTransformer.endExecuteQueryElement
(SQLTransformer.java:327)
 at
be.ecorp.prj.scoot.site.transformation.SQLTransformer.endElement(SQLTransfor
mer.java:510)
 at
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.parse(XMLByteStrea
mInterpreter.java:85)
 at
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByt
eStreamInterpreter.java:58)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:189)
 at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:
161)
 at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:220)
 at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:344)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1463)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:945)
 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:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)


Today's C2 (xerxes 1.4.0 and xalan 2.1.0)
Tomcat 3.2.1
JDK 1.3.0_02
OS NT4

___________________________________________________

Jan Uyttenhove
- Software Engineer -

The E-corporation
Roderveldlaan 3 bus 1
B-2600 Antwerpen

Guldensporenpark 10 (Axxes 51-003)
B-9820 Merelbeke-Gent

T:+32 [0]9 272.22.00
F:+32 [0]9 272.22.11
______________________________________
- Good company for the road ahead - www.the-ecorp.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