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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4, 2.2.5
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: