Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1175

Duplicate key exception should be handle locally to avoid to affect the whole MBean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.4, 2.2.5
    • 2.2.6, 3.0.0
    • karaf
    • None

    Description

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: