Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7744

[Java Broker] Fix NPE in AbstractVirtualHost$MessageHeaderImpl when there is no user principal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      Currently, the broker produces a NullPointerException when MessageHeaderImpl are instantiated while the subject does not have a UserPrincipal.
      While this scenario should not occur outside of testing it is better to guard against NPEs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lorenz.quack Lorenz Quack
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: