cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: Cocoon 1.8 Jikes Compiler
Date Fri, 29 Sep 2000 17:03:04 GMT
Thanks to someone else in the cocoon-users list, I have
the stack trace.

java.util.NoSuchElementException 
        at org.apache.cocoon.Tokenizer.nextToken(Tokenizer.java:155) 
        at org.apache.cocoon.processor.xsp.XSPUtil.split(XSPUtil.java:171) 
        at org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:133)

        at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:489) 
        at org.apache.cocoon.Engine.handle(Engine.java:359) 
        at org.apache.cocoon.Cocoon.service(Cocoon.java:167) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) 
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) 
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) 
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)

        at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338) 
        at java.lang.Thread.run(Thread.java:484)

It's as if the list thinks there are more elements in it than there are.
----- Original Message ----- 
From: "Berin Loritsch" <bloritsch@infoplanning.com>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, September 28, 2000 8:36 AM
Subject: Re: Cocoon 1.8 Jikes Compiler


> Exception as in a out of bounds error.  This only happens
> when there is a typo or error compiling from the XSP.
> When I tried recreating the error, everything seemed to
> work.  I don't know what happened between then and now.
> 
> I appologize for not having the stack trace, but now I
> can't reproduce it to give you one.
> 
> It happened in a construct like this:
> 
> for (int i = 0; i < enum.length; i++) {
>    enum.getAt(i);
> }
> 
> or something like that in the Java XSP processor.  It
> baffled me because there was no logic to it.  It's as
> if it crashed the whole cocoon servlet, and the servlet
> had to be reloaded.
> 
> ----- Original Message ----- 
> From: "Robin Green" <greenrd@hotmail.com>
> To: <cocoon-dev@xml.apache.org>
> Sent: Wednesday, September 27, 2000 6:33 PM
> Subject: Re: Cocoon 1.8 Jikes Compiler
> 
> 
> > From: "Berin Loritsch" <bloritsch@infoplanning.com> wrote:
> > >The XSP Jikes Compiler adaptor crashes every time there
> > >is an exception.  I get a ElementNotFoundException.
> > >
> > >Everything is handled correctly with the Sun Compiler.
> > 
> > Thanks for the bug report, but please be more specific. Do you mean 
> > "exception" as in "compile-time error"? Stack trace might be useful too.
> > 
> > 
> > _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> > 
> > Share information about yourself, create your own public profile at 
> > http://profiles.msn.com.


Mime
View raw message