Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1713

Calling getClientId() on an OpenWireConnection can cause a NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • OpenWire
    • None

    Description

      The getClientId() on RemotingConnection is public and it is possible to call it too early on an OpenWireConnection (such as in a plugin) before the context has been initialized with the clientId.  Instead of just returning null a NPE is thrown because of a null reference.

      Attachments

        Issue Links

          Activity

            People

              cshannon Christopher L. Shannon
              cshannon Christopher L. Shannon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: