Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 86782 invoked from network); 3 Mar 2009 08:09:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 08:09:19 -0000 Received: (qmail 85679 invoked by uid 500); 3 Mar 2009 08:09:19 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 85644 invoked by uid 500); 3 Mar 2009 08:09:19 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 85633 invoked by uid 99); 3 Mar 2009 08:09:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 00:09:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 08:09:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1978D234C4AC for ; Tue, 3 Mar 2009 00:08:56 -0800 (PST) Message-ID: <1224417558.1236067736098.JavaMail.jira@brutus> Date: Tue, 3 Mar 2009 00:08:56 -0800 (PST) From: "Clement Escoffier (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-967) "Expecting to find object/array on stack" Error when calling this(...) constructor In-Reply-To: <1568637728.1236033176111.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678261#action_12678261 ] Clement Escoffier commented on FELIX-967: ----------------------------------------- Hi, I have created a test case using your example. I ran your test with a 1.6 JVM on Felix and Equinox without any issue. Can you give me more information? The tested component implementation is http://svn.apache.org/viewvc/felix/trunk/ipojo/tests/manipulator/creation/src/main/java/org/apache/felix/ipojo/test/scenarios/component/SeveralConstructors.java?revision=749557&view=markup with the following test case http://svn.apache.org/viewvc/felix/trunk/ipojo/tests/manipulator/creation/src/main/java/org/apache/felix/ipojo/test/scenarios/manipulation/SeveralConstructorTest.java?revision=749557&view=markup The metadata are : Regards, Clement > "Expecting to find object/array on stack" Error when calling this(...) constructor > ---------------------------------------------------------------------------------- > > Key: FELIX-967 > URL: https://issues.apache.org/jira/browse/FELIX-967 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: iPOJO-1.2.0 > Environment: iPOJO 1.2.0, Equinox 3.3.0, Java 1.6 u5, MacOS X 10.5.2 > Reporter: James Kingsbery > Assignee: Clement Escoffier > > This is a similar bug to FELIX-649, except rather than calling the super constructor I'm calling the this( ) constructor. To paraphrase the example from FELIX-649, my setup looks like this: > public class A { > private String name; > public A(){ > this("hello world"); > } > public A(final String n) { > name = n; > } > } > This causes the same error as in FELIX-649, namely a VerifyError with the message "Expecting to find object/array on stack" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.