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


Reply via email to