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

XmlHandler doesn't always fail on unmarshaling errors

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 19.0.0, 19.0.1
    • 19.1.0
    • Architecture, Minion
    • Security Level: Default (Default Security Scheme)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: