From bloritsch@infoplanning.com Fri Sep 29 17:09:41 2000 Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 6175 invoked from network); 29 Sep 2000 17:09:41 -0000 Received: from fw.infoplanning.net (HELO infoplanning.com) (@209.8.58.131) by locus.apache.org with SMTP; 29 Sep 2000 17:09:41 -0000 Received: (qmail 9423 invoked from network); 29 Sep 2000 16:20:32 -0000 Received: from minie (HELO johnnybravo) (192.168.0.189) by inet with SMTP; 29 Sep 2000 16:20:32 -0000 Message-ID: <00f001c02a37$220d03a0$bd00a8c0@infoplanning.com> From: "Berin Loritsch" To: References: <00b501c02948$c8fb9950$bd00a8c0@infoplanning.com> Subject: Re: Cocoon 1.8 Jikes Compiler Date: Fri, 29 Sep 2000 13:03:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 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" To: 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" > To: > Sent: Wednesday, September 27, 2000 6:33 PM > Subject: Re: Cocoon 1.8 Jikes Compiler > > > > From: "Berin Loritsch" 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.