Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EBC495F8 for ; Tue, 31 Jan 2012 12:40:32 +0000 (UTC) Received: (qmail 35263 invoked by uid 500); 31 Jan 2012 12:40:31 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 35242 invoked by uid 500); 31 Jan 2012 12:40:31 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 35228 invoked by uid 99); 31 Jan 2012 12:40:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 12:40:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 12:40:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BACB5181832 for ; Tue, 31 Jan 2012 12:40:10 +0000 (UTC) Date: Tue, 31 Jan 2012 12:40:10 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28Created=29_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: <1874794542.11388.1328013610766.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (KARAF-1175) Duplicate key exception should be handle locally to avoid to affect the whole MBean MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Duplicate key exception should be handle locally to avoid to affect the who= le MBean ---------------------------------------------------------------------------= -------- Key: KARAF-1175 URL: https://issues.apache.org/jira/browse/KARAF-1175 Project: Karaf Issue Type: Bug Components: karaf-config, karaf-features Affects Versions: 2.2.5, 2.2.4 Reporter: Jean-Baptiste Onofr=C3=A9 Assignee: Jean-Baptiste Onofr=C3=A9 Fix For: 2.2.6, 3.0.0 When a MBean returns a TabularData, we have a loop to populate the TabularD= ata. If an exception occurs in an iteration (as a duplicate key exception for in= stance), we don't populate the tabular data at all. A try/catch should be defined in the iteration, to avoid to get out the MBe= an with a null value. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira