Qpid
  1. Qpid
  2. QPID-3769

NPE in client AMQDestination.equals()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12
    • Fix Version/s: 0.22
    • Component/s: Java Client
    • Labels:

      Description

      Code of org.apache.qpid.client.AMQDestination.equals(Object) is buggy, it should test for null on _exchangeClass and _exchangeName before dereferencing them, lines 522 and 526.

        Activity

        Jan Bareš created issue -
        Jan Bareš made changes -
        Field Original Value New Value
        Summary NPE in AMQDestination.equals() NPE in client AMQDestination.equals()
        Description Code of AMQDestination.equals() is buggy, it should test for null on _exchangeClass and _exchangeName before dereferencing them, lines 522 and 526. Code of org.apache.qpid.client.AMQDestination.equals(Object) is buggy, it should test for null on _exchangeClass and _exchangeName before dereferencing them, lines 522 and 526.
        Robbie Gemmell made changes -
        Component/s Java Client [ 12311389 ]
        Rob Godfrey made changes -
        Labels addressing
        Rajith Attapattu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Rajith Attapattu [ rajith ]
        Resolution Fixed [ 1 ]
        Alex Rudyy made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Rajith Attapattu made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Rajith Attapattu made changes -
        Fix Version/s 0.22 [ 12324272 ]
        Rajith Attapattu made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Rajith Attapattu
            Reporter:
            Jan Bareš
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development