You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Xavier MACHENAUD <xa...@st.com> on 2001/05/11 11:25:46 UTC

[C1] Error when using

When I try to retrieve the following document :

<?xml version="1.0"?>

<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>

<?xml-stylesheet href="generators_list.xsl" type="text/xsl"?>

<xsp:page  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
           xmlns:util="http://www.apache.org/1999/XSP/Util">

<page>
  <util:include-uri
href="http://aremoteserver/cgi-bin/test.pl?action=getxml"/>
</page>

</xsp:page>

I'm getting the following error :
Cocoon 1.8

java.lang.ArrayIndexOutOfBoundsException: -326211288
        at org.apache.cocoon.processor.xsp.XSPPage.getDocument(Compiled
Code)
        at org.apache.cocoon.processor.xsp.XSPProcessor.process(Compiled
Code)
        at org.apache.cocoon.Engine.handle(Compiled Code)
        at org.apache.cocoon.Cocoon.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled
Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled
Code)
        at java.lang.Thread.run(Compiled Code)

The URL used is working fine when called from a browser.
The XML document is working fine if I'm using an <util:include-file>
pointing to the generated file.

I'm running the following config :
Solaris 5.5.1 / JDK 1.2.2 / Tomcat 3.1 / Cocoon 1.8.2

Thanks

Xavier

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>