Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9323

XmlHandler doesn't always fail on unmarshaling errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0.0, 19.0.1
    • Fix Version/s: 19.1.0
    • Component/s: Architecture, Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - May 3rd

      Description

      The XmlHandler is used to marshal/unmarshal request/responses in the IPC modules used for Minion.

      Currently, the XmlHandler relies on the default event handler, which can swallow certain exceptions such as failures in XmlAdapter s which can leave objects in inconsistent states (i.e. a member variable is null because the adapter failed).

      This behavior differs from unmarshaling/marshaling directly using JaxbUtils, where we set a custom event handler.

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: