karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-1175) Duplicate key exception should be handle locally to avoid to affect the whole MBean
Date Tue, 31 Jan 2012 12:40:10 GMT
Duplicate key exception should be handle locally to avoid to affect the whole 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é
            Assignee: Jean-Baptiste Onofré
             Fix For: 2.2.6, 3.0.0


When a MBean returns a TabularData, we have a loop to populate the TabularData.

If an exception occurs in an iteration (as a duplicate key exception for instance), we don't
populate the tabular data at all.

A try/catch should be defined in the iteration, to avoid to get out the MBean with a null
value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message