Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 25225 invoked from network); 16 Oct 2008 07:37:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 07:37:06 -0000 Received: (qmail 18734 invoked by uid 500); 16 Oct 2008 07:37:07 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 18403 invoked by uid 500); 16 Oct 2008 07:37:06 -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 18288 invoked by uid 99); 16 Oct 2008 07:37:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 00:37:06 -0700 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; Thu, 16 Oct 2008 07:36:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39592234C226 for ; Thu, 16 Oct 2008 00:36:44 -0700 (PDT) Message-ID: <403641702.1224142604227.JavaMail.jira@brutus> Date: Thu, 16 Oct 2008 00:36:44 -0700 (PDT) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Subject: [jira] Assigned: (FELIX-780) ArrayIndexOutOfBoundsException in webconsole In-Reply-To: <1562420244.1224141284195.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-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned FELIX-780: --------------------------------------- Assignee: Felix Meschberger > ArrayIndexOutOfBoundsException in webconsole > -------------------------------------------- > > Key: FELIX-780 > URL: https://issues.apache.org/jira/browse/FELIX-780 > Project: Felix > Issue Type: Bug > Components: Web Console > Reporter: Arjun Panday > Assignee: Felix Meschberger > > I just bumped into this exception in the webconsole module: > java.lang.ArrayIndexOutOfBoundsException: 1 > at org.apache.felix.webconsole.internal.compendium.ComponentConfigurationPrinter.printConfiguration(ComponentConfigurationPrinter.java:81) > And indeed, looking at the code in the trunk, it looks like a typo.. (should be "Components components = components[i];") > // order components by id > TreeMap componentMap = new TreeMap(); > for ( int i = 0; i < components.length; i++ ) > { > Component component = components[1]; > componentMap.put( new Long( component.getId() ), component ); > } > thanks, > Arjun -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.