Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 46148 invoked from network); 16 Jun 2010 10:40:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jun 2010 10:40:53 -0000 Received: (qmail 76052 invoked by uid 500); 16 Jun 2010 10:40:52 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 75610 invoked by uid 500); 16 Jun 2010 10:40:49 -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 75596 invoked by uid 99); 16 Jun 2010 10:40:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 10:40:48 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 10:40:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5GAeN2Y022520 for ; Wed, 16 Jun 2010 10:40:24 GMT Message-ID: <23550973.26941276684823893.JavaMail.jira@thor> Date: Wed, 16 Jun 2010 06:40:23 -0400 (EDT) From: =?utf-8?Q?=C5=81ukasz_Dywicki_=28JIRA=29?= To: dev@felix.apache.org Subject: [jira] Created: (FELIX-2414) Duplicated feature dependency causes errors in FeaturesServiceMBean MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Duplicated feature dependency causes errors in FeaturesServiceMBean ------------------------------------------------------------------- Key: FELIX-2414 URL: https://issues.apache.org/jira/browse/FELIX-2414 Project: Felix Issue Type: Bug Components: Karaf Affects Versions: karaf-1.4.0 Reporter: =C5=81ukasz Dywicki Karaf FeaturesServiceMBean fails when we have duplicated dependency. For ex= ample: {code} camel-cxf camel-cxf {code} Stack trace: {code} javax.management.openmbean.KeyAlreadyExistsException: Argument value's inde= x, calculated according to this TabularData instance's tabularType, already= refers to a value in this table. at javax.management.openmbean.TabularDataSupport.checkValueAndIndex= (TabularDataSupport.java:871) at javax.management.openmbean.TabularDataSupport.internalPut(Tabula= rDataSupport.java:331) at javax.management.openmbean.TabularDataSupport.put(TabularDataSup= port.java:323) at org.apache.felix.karaf.features.management.codec.JmxFeature.getF= eatureIdentifierTable(JmxFeature.java:98) at org.apache.felix.karaf.features.management.codec.JmxFeature.(JmxFeature.java:70) at org.apache.felix.karaf.features.management.internal.FeaturesServ= iceMBeanImpl.getFeatures(FeaturesServiceMBeanImpl.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor= Impl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Stand= ardMBeanIntrospector.java:93) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Stand= ardMBeanIntrospector.java:27) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospec= tor.java:208) at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.j= ava:65) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.j= ava:216) at javax.management.StandardMBean.getAttribute(StandardMBean.java:3= 58) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribu= te(DefaultMBeanServerInterceptor.java:666) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServ= er.java:638) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMICon= nectionImpl.java:1404) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConn= ectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperatio= n.run(RMIConnectionImpl.java:1265) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperat= ion(RMIConnectionImpl.java:1367) at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMICo= nnectionImpl.java:600) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor= Impl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:3= 05) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.j= ava:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTra= nsport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTran= sport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoo= lExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:908) at java.lang.Thread.run(Thread.java:619) {code} --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.