Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 76785 invoked from network); 3 Jun 2004 12:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Jun 2004 12:59:51 -0000 Received: (qmail 65520 invoked by uid 500); 3 Jun 2004 12:59:44 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 65347 invoked by uid 500); 3 Jun 2004 12:59:43 -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 65208 invoked by uid 99); 3 Jun 2004 12:59:42 -0000 Received: from [130.149.66.116] (HELO vern.chem.tu-berlin.de) (130.149.66.116) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 03 Jun 2004 05:59:42 -0700 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 i53CxUP2020501 for ; Thu, 3 Jun 2004 14:59:30 +0200 Subject: Re: [BUG] Registering of JavaFlow fails (was: [JavaFlow] java.lang.VerifyException) From: Stephan Michels To: Cocoon Developers In-Reply-To: <40BCC99A.3060401@gmx.net> References: <40BCC99A.3060401@gmx.net> Content-Type: text/plain Message-Id: <1086267652.3234.4.camel@verndeb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 03 Jun 2004 15:00:52 +0200 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Am Di, den 01.06.2004 schrieb Stephan Coboos um 20:23: > Hello, > > I have a problem using Objects in JavaFlow before a while loop. Please > see my first posting [JavaFlow] java.lang.VerifyException. In my opinion > it can be a bug in the JavaFlow block. > > Because my fist posting was not so clear, I had tried to reproduce the > error for a while and I had discovered the following code which creates > such an error (you need the packages of Lucene): > > java.lang.VerifyError: (class: foo/bar/TestFlow, method: doTest > signature: ()V) Incompatible object argument for function call > > Is it really a bug? Why is it not possible to declare these three line > within the method doTest? What can I do? Yes, it seems to be a bug. I guess its a problem the following line query = QueryParser.parse("foo", "bar", new StandardAnalyzer()); I had many problem in the past with uninitialized objects and saving the continuation. I will take a look into it. Stephan.