Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 94936 invoked from network); 29 Mar 2004 19:58:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Mar 2004 19:58:17 -0000 Received: (qmail 99134 invoked by uid 500); 29 Mar 2004 19:58:03 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 99061 invoked by uid 500); 29 Mar 2004 19:58:02 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 99037 invoked from network); 29 Mar 2004 19:58:02 -0000 Received: from unknown (HELO vern.chem.tu-berlin.de) (130.149.66.116) by daedalus.apache.org with SMTP; 29 Mar 2004 19:58:02 -0000 Received: from verndeb.chem.tu-berlin.de (verndeb.chem.tu-berlin.de [192.168.66.131]) by vern.chem.tu-berlin.de (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id i2TJw4gg001958 for ; Mon, 29 Mar 2004 21:58:04 +0200 Subject: Re: Javaflow examples From: Stephan Michels To: Cocoon Developers In-Reply-To: <4068762D.5050400@apache.org> References: <4068762D.5050400@apache.org> Content-Type: text/plain; charset=iso-8859-15 Message-Id: <1080590292.2656.103.camel@verndeb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 29 Mar 2004 21:58:13 +0200 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Am Mo, den 29.03.2004 schrieb Reinhard P�tz um 21:17: > I tried out the new examples but I got the error below. I use eclipse to > build Cocoon which compiles the classes into WEB-INF/classes. > Any ideas? > > org.apache.bcel.verifier.exc.StructuralCodeConstraintException: Instruction INVOKESTATIC constraint violated: Class 'org.apache.cocoon.components.flow.java.Continuation' is referenced, but cannot be loaded and resolved: 'VERIFIED_REJECTED > Number of LocalVariableTable attributes of Code attribute '' (method 'static void ()') exceeds number of local variable slots '0' ('There may be no more than one LocalVariableTable attribute per local variable in the Code attribute.'). > '. I had a similar problem some time ago, but can't reproduce this now. I think you have somethere an old bcel archieve. For example the IBM JRE comes with BCEL within xalan :-/ I think it a bug in the Pass2 verifier, which checks, if more local variables used than registered. I believe the author set the brace wrong, see Pass2Verifier.java:967 I will talk to the author, but he has currently the problem that the ASF hasn't a signed CLA of him, so, he got no access to the CVS. The other problem is that the ContinuationClassLoader shouldn't analyse the Continuation class. I didn't manage to remove all verifier code, because then I must change to many things in bcel. Stephan.